aboutsummaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-08 23:59:45 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-08 23:59:45 +0000
commit13d1fa1d01e48c7a23cc1114fc4d45b20f2c48eb (patch)
tree2facfcfcd614fe7d935e167820f202e739196bc0 /include/busybox.h
parentdf351d6109fb1846e5d18fa89e91ee050a7de334 (diff)
downloadbusybox-13d1fa1d01e48c7a23cc1114fc4d45b20f2c48eb.tar.gz
Add in 'trim' routine. Fix up sh.c so it works when wordexp
is not available. -Erik
Diffstat (limited to 'include/busybox.h')
-rw-r--r--include/busybox.h1
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);