diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-08 23:59:45 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-08 23:59:45 +0000 |
commit | 13d1fa1d01e48c7a23cc1114fc4d45b20f2c48eb (patch) | |
tree | 2facfcfcd614fe7d935e167820f202e739196bc0 /include | |
parent | df351d6109fb1846e5d18fa89e91ee050a7de334 (diff) |
Add in 'trim' routine. Fix up sh.c so it works when wordexp
is not available.
-Erik
Diffstat (limited to 'include')
-rw-r--r-- | include/busybox.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h index 5e46ebbd8..d9362b58b 100644 --- a/include/busybox.h +++ b/include/busybox.h @@ -151,6 +151,7 @@ extern char *get_last_path_component(char *path); extern FILE *wfopen(const char *path, const char *mode); extern FILE *xfopen(const char *path, const char *mode); extern void chomp(char *s); +extern void trim(char *s); extern struct BB_applet *find_applet_by_name(const char *name); void run_applet_by_name(const char *name, int argc, char **argv); |