Added some missing declarations and fixed some typos. I have to

remember to compile *before* committing.
This commit is contained in:
Matt Kraai 2000-07-19 18:20:02 +00:00
parent 2f46b664b7
commit 869057238b
3 changed files with 13 additions and 1 deletions

View File

@ -365,6 +365,7 @@ const char halt_usage[] =
"\nHalt the system.\n" "\nHalt the system.\n"
#endif #endif
; ;
#endif
#if defined BB_HEAD #if defined BB_HEAD
const char head_usage[] = const char head_usage[] =

View File

@ -220,6 +220,7 @@ extern const char chmod_usage[];
extern const char chown_usage[]; extern const char chown_usage[];
extern const char chroot_usage[]; extern const char chroot_usage[];
extern const char chvt_usage[]; extern const char chvt_usage[];
extern const char clear_usage[];
extern const char cp_usage[]; extern const char cp_usage[];
extern const char cut_usage[]; extern const char cut_usage[];
extern const char date_usage[]; extern const char date_usage[];
@ -233,6 +234,7 @@ extern const char du_usage[];
extern const char dumpkmap_usage[]; extern const char dumpkmap_usage[];
extern const char dutmp_usage[]; extern const char dutmp_usage[];
extern const char echo_usage[]; extern const char echo_usage[];
extern const char false_usage[];
extern const char fdflush_usage[]; extern const char fdflush_usage[];
extern const char find_usage[]; extern const char find_usage[];
extern const char free_usage[]; extern const char free_usage[];
@ -241,7 +243,9 @@ extern const char fsck_minix_usage[];
extern const char grep_usage[]; extern const char grep_usage[];
extern const char gunzip_usage[]; extern const char gunzip_usage[];
extern const char gzip_usage[]; extern const char gzip_usage[];
extern const char halt_usage[];
extern const char head_usage[]; extern const char head_usage[];
extern const char hostid_usage[];
extern const char hostname_usage[]; extern const char hostname_usage[];
extern const char id_usage[]; extern const char id_usage[];
extern const char insmod_usage[]; extern const char insmod_usage[];
@ -255,6 +259,7 @@ extern const char loadkmap_usage[];
extern const char logger_usage[]; extern const char logger_usage[];
extern const char logname_usage[]; extern const char logname_usage[];
extern const char ls_usage[]; extern const char ls_usage[];
extern const char lsmod_usage[];
extern const char makedevs_usage[]; extern const char makedevs_usage[];
extern const char md5sum_usage[]; extern const char md5sum_usage[];
extern const char mkdir_usage[]; extern const char mkdir_usage[];
@ -270,8 +275,11 @@ extern const char mv_usage[];
extern const char nc_usage[]; extern const char nc_usage[];
extern const char nslookup_usage[]; extern const char nslookup_usage[];
extern const char ping_usage[]; extern const char ping_usage[];
extern const char poweroff_usage[];
extern const char printf_usage[]; extern const char printf_usage[];
extern const char ps_usage[]; extern const char ps_usage[];
extern const char pwd_usage[];
extern const char reboot_usage[];
extern const char rm_usage[]; extern const char rm_usage[];
extern const char rmdir_usage[]; extern const char rmdir_usage[];
extern const char rmmod_usage[]; extern const char rmmod_usage[];
@ -291,11 +299,13 @@ extern const char telnet_usage[];
extern const char test_usage[]; extern const char test_usage[];
extern const char touch_usage[]; extern const char touch_usage[];
extern const char tr_usage[]; extern const char tr_usage[];
extern const char true_usage[];
extern const char tty_usage[]; extern const char tty_usage[];
extern const char umount_usage[]; extern const char umount_usage[];
extern const char uname_usage[]; extern const char uname_usage[];
extern const char uniq_usage[]; extern const char uniq_usage[];
extern const char update_usage[]; extern const char update_usage[];
extern const char uptime_usage[];
extern const char usleep_usage[]; extern const char usleep_usage[];
extern const char uudecode_usage[]; extern const char uudecode_usage[];
extern const char uuencode_usage[]; extern const char uuencode_usage[];
@ -366,7 +376,7 @@ extern void xregcomp(regex_t *preg, const char *regex, int cflags);
#ifndef DMALLOC #ifndef DMALLOC
extern void *xmalloc (size_t size); 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); extern char *xstrdup (const char *s);
#endif #endif
extern char *xstrndup (const char *s, int n); extern char *xstrndup (const char *s, int n);

View File

@ -365,6 +365,7 @@ const char halt_usage[] =
"\nHalt the system.\n" "\nHalt the system.\n"
#endif #endif
; ;
#endif
#if defined BB_HEAD #if defined BB_HEAD
const char head_usage[] = const char head_usage[] =