diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-27 16:14:40 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-27 16:14:40 +0200 |
commit | abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe (patch) | |
tree | 091496cdf4a2c89cb6b30141fbbed8f1b3ab3403 /src/s_lpipes.h | |
parent | TODO update (diff) | |
download | 42-minishell-abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe.tar.gz 42-minishell-abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe.tar.bz2 42-minishell-abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe.tar.xz 42-minishell-abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe.tar.zst 42-minishell-abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe.zip |
Freed pipe leaks on builtins
Diffstat (limited to 'src/s_lpipes.h')
-rw-r--r-- | src/s_lpipes.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/s_lpipes.h b/src/s_lpipes.h index 7b90d2c..5b2795a 100644 --- a/src/s_lpipes.h +++ b/src/s_lpipes.h @@ -15,11 +15,11 @@ #include "s_struct.h" -struct s_lpipes *lpipes_last(struct s_lpipes *lpipes); -void lpipes_add_back(struct s_lpipes **alpipes, +struct s_lpipes *s_lpipes_last(struct s_lpipes *lpipes); +void s_lpipes_add_back(struct s_lpipes **alpipes, struct s_lpipes *new); -void lpipes_clear(struct s_lpipes **lpipes); -struct s_lpipes *lpipes_new(const char pipedword[], t_msh *msh); -struct s_lpipes *split_pipes(const char word[], t_line *line, t_msh *msh); +void s_lpipes_clear(struct s_lpipes **lpipes); +struct s_lpipes *s_lpipes_new(const char pipedword[], t_msh *msh); +struct s_lpipes *s_split_pipes(const char word[], t_line *line, t_msh *msh); #endif |