diff options
author | Rob Landley | 2006-03-06 20:47:33 +0000 |
---|---|---|
committer | Rob Landley | 2006-03-06 20:47:33 +0000 |
commit | dfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch) | |
tree | 588d140a71e857cb32c80d1faad6f3073b119aa7 /util-linux | |
parent | 1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff) | |
download | busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.zip busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz |
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fbset.c | 2 | ||||
-rw-r--r-- | util-linux/fdflush.c | 2 | ||||
-rw-r--r-- | util-linux/fsck_minix.c | 2 | ||||
-rw-r--r-- | util-linux/hwclock.c | 2 | ||||
-rw-r--r-- | util-linux/mkfs_minix.c | 2 | ||||
-rw-r--r-- | util-linux/more.c | 2 | ||||
-rw-r--r-- | util-linux/swaponoff.c | 2 | ||||
-rw-r--r-- | util-linux/umount.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/util-linux/fbset.c b/util-linux/fbset.c index 49435c2..2e895be 100644 --- a/util-linux/fbset.c +++ b/util-linux/fbset.c @@ -332,7 +332,7 @@ static inline void showmode(struct fb_var_screeninfo *v) #ifdef STANDALONE int main(int argc, char **argv) #else -extern int fbset_main(int argc, char **argv) +int fbset_main(int argc, char **argv) #endif { struct fb_var_screeninfo var, varset; diff --git a/util-linux/fdflush.c b/util-linux/fdflush.c index f3afea3..79c8f45 100644 --- a/util-linux/fdflush.c +++ b/util-linux/fdflush.c @@ -31,7 +31,7 @@ /* From <linux/fd.h> */ #define FDFLUSH _IO(2,0x4b) -extern int fdflush_main(int argc, char **argv) +int fdflush_main(int argc, char **argv) { int fd, result; diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index 1814537..1d3e90a 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c @@ -1321,7 +1321,7 @@ static void free_name_list(void) } #endif -extern int fsck_minix_main(int argc, char **argv) +int fsck_minix_main(int argc, char **argv) { struct termios tmp; int count; diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index 00abe10..126caf6 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c @@ -192,7 +192,7 @@ static int check_utc(void) #define HWCLOCK_OPT_HCTOSYS 0x08 #define HWCLOCK_OPT_SYSTOHC 0x10 -extern int hwclock_main ( int argc, char **argv ) +int hwclock_main ( int argc, char **argv ) { unsigned long opt; int utc; diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index b1d538d..904a58e 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c @@ -694,7 +694,7 @@ static void get_list_blocks(char *filename) printf("one bad block\n"); } -extern int mkfs_minix_main(int argc, char **argv) +int mkfs_minix_main(int argc, char **argv) { int i=1; char *tmp; diff --git a/util-linux/more.c b/util-linux/more.c index e910388..beba642 100644 --- a/util-linux/more.c +++ b/util-linux/more.c @@ -57,7 +57,7 @@ static void gotsig(int sig) #endif /* CONFIG_FEATURE_USE_TERMIOS */ -extern int more_main(int argc, char **argv) +int more_main(int argc, char **argv) { int c, lines, input = 0; int please_display_more_prompt = 0; diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index c624e74..ce55a13 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -66,7 +66,7 @@ static int do_em_all(void) #define DO_ALL 0x01 -extern int swap_on_off_main(int argc, char **argv) +int swap_on_off_main(int argc, char **argv) { int ret; diff --git a/util-linux/umount.c b/util-linux/umount.c index 8c05584..71ddbd4 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c @@ -30,7 +30,7 @@ #define OPT_IGNORED 32 // -v is ignored #define OPT_ALL (ENABLE_FEATURE_UMOUNT_ALL ? 64 : 0) -extern int umount_main(int argc, char **argv) +int umount_main(int argc, char **argv) { int doForce; char path[2*PATH_MAX]; |