From 13d1fa1d01e48c7a23cc1114fc4d45b20f2c48eb Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 8 Mar 2001 23:59:45 +0000 Subject: Add in 'trim' routine. Fix up sh.c so it works when wordexp is not available. -Erik --- include/busybox.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/busybox.h') 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); -- cgit v1.2.3