Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6.
-Erik
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 @@
}
}
}
- exit( TRUE);
+ return( TRUE);
}
/*