aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-13 18:15:47 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-13 18:15:47 +0200
commit490237aece240c05b5a9035665a88327e1be87ed (patch)
treeb97ea8765878a7ebf9e918e008dd6577b0652fdd /include/lexer.h
parent10ec6292d997ac18803df92469d2ab4ee03166e7 (diff)
downloadminishell-490237aece240c05b5a9035665a88327e1be87ed.tar.gz
minishell-490237aece240c05b5a9035665a88327e1be87ed.tar.bz2
minishell-490237aece240c05b5a9035665a88327e1be87ed.zip
Refactoring lexer/trim by removing the unecessary allocation
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lexer.h b/include/lexer.h
index 7f31699..f4d4648 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -6,7 +6,7 @@
/* By: nahaddac <nahaddac@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/06/19 10:51:26 by nahaddac #+# #+# */
-/* Updated: 2020/09/13 17:33:53 by charles ### ########.fr */
+/* Updated: 2020/09/13 18:06:35 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -113,6 +113,6 @@ int quote_len(char *input, int i);
** trim.c
*/
-t_tok_lst *lexer_trim_out(t_tok_lst *lst);
+void lexer_trim(t_tok_lst *lst);
#endif