summaryrefslogtreecommitdiff
path: root/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'update.c')
-rw-r--r--update.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/update.c b/update.c
index 14f1d3c..b86d84e 100644
--- a/update.c
+++ b/update.c
@@ -28,12 +28,14 @@
#include <sys/param.h>
#include <sys/syslog.h>
+
#if defined(__GLIBC__)
#include <sys/kdaemon.h>
#else
-_syscall2(int, bdflush, int, func, int, data);
+static _syscall2(int, bdflush, int, func, int, data);
#endif /* __GLIBC__ */
+
static char update_usage[] =
"update [options]\n"
#ifndef BB_FEATURE_TRIVIAL_HELP
@@ -109,7 +111,7 @@ extern int update_main(int argc, char **argv)
}
}
}
- exit( TRUE);
+ return( TRUE);
}
/*