summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fbset.c2
-rw-r--r--util-linux/fdflush.c2
-rw-r--r--util-linux/fsck_minix.c2
-rw-r--r--util-linux/hwclock.c2
-rw-r--r--util-linux/mkfs_minix.c2
-rw-r--r--util-linux/more.c2
-rw-r--r--util-linux/swaponoff.c2
-rw-r--r--util-linux/umount.c2
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];