summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-19 18:20:02 +0000
committerMatt Kraai <kraai@debian.org>2000-07-19 18:20:02 +0000
commit869057238b4ae1544ee9df28fca4157b041175f9 (patch)
tree544178fe7f50e21c6effc0ae1707f7f36a3f99b3
parent2f46b664b7d7b51319d21b7c2d6b3ca817f5e1c4 (diff)
Added some missing declarations and fixed some typos. I have to
remember to compile *before* committing.
-rw-r--r--applets/usage.c1
-rw-r--r--internal.h12
-rw-r--r--usage.c1
3 files changed, 13 insertions, 1 deletions
diff --git a/applets/usage.c b/applets/usage.c
index 56ea80d08..58f9820ba 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -365,6 +365,7 @@ const char halt_usage[] =
"\nHalt the system.\n"
#endif
;
+#endif
#if defined BB_HEAD
const char head_usage[] =
diff --git a/internal.h b/internal.h
index 52419e34e..1e9af1f6c 100644
--- a/internal.h
+++ b/internal.h
@@ -220,6 +220,7 @@ extern const char chmod_usage[];
extern const char chown_usage[];
extern const char chroot_usage[];
extern const char chvt_usage[];
+extern const char clear_usage[];
extern const char cp_usage[];
extern const char cut_usage[];
extern const char date_usage[];
@@ -233,6 +234,7 @@ extern const char du_usage[];
extern const char dumpkmap_usage[];
extern const char dutmp_usage[];
extern const char echo_usage[];
+extern const char false_usage[];
extern const char fdflush_usage[];
extern const char find_usage[];
extern const char free_usage[];
@@ -241,7 +243,9 @@ extern const char fsck_minix_usage[];
extern const char grep_usage[];
extern const char gunzip_usage[];
extern const char gzip_usage[];
+extern const char halt_usage[];
extern const char head_usage[];
+extern const char hostid_usage[];
extern const char hostname_usage[];
extern const char id_usage[];
extern const char insmod_usage[];
@@ -255,6 +259,7 @@ extern const char loadkmap_usage[];
extern const char logger_usage[];
extern const char logname_usage[];
extern const char ls_usage[];
+extern const char lsmod_usage[];
extern const char makedevs_usage[];
extern const char md5sum_usage[];
extern const char mkdir_usage[];
@@ -270,8 +275,11 @@ extern const char mv_usage[];
extern const char nc_usage[];
extern const char nslookup_usage[];
extern const char ping_usage[];
+extern const char poweroff_usage[];
extern const char printf_usage[];
extern const char ps_usage[];
+extern const char pwd_usage[];
+extern const char reboot_usage[];
extern const char rm_usage[];
extern const char rmdir_usage[];
extern const char rmmod_usage[];
@@ -291,11 +299,13 @@ extern const char telnet_usage[];
extern const char test_usage[];
extern const char touch_usage[];
extern const char tr_usage[];
+extern const char true_usage[];
extern const char tty_usage[];
extern const char umount_usage[];
extern const char uname_usage[];
extern const char uniq_usage[];
extern const char update_usage[];
+extern const char uptime_usage[];
extern const char usleep_usage[];
extern const char uudecode_usage[];
extern const char uuencode_usage[];
@@ -366,7 +376,7 @@ extern void xregcomp(regex_t *preg, const char *regex, int cflags);
#ifndef DMALLOC
extern void *xmalloc (size_t size);
-extern void *xrealloc(void *old, size_t size)
+extern void *xrealloc(void *old, size_t size);
extern char *xstrdup (const char *s);
#endif
extern char *xstrndup (const char *s, int n);
diff --git a/usage.c b/usage.c
index 56ea80d08..58f9820ba 100644
--- a/usage.c
+++ b/usage.c
@@ -365,6 +365,7 @@ const char halt_usage[] =
"\nHalt the system.\n"
#endif
;
+#endif
#if defined BB_HEAD
const char head_usage[] =