aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/eject.c2
-rw-r--r--miscutils/last.c2
-rw-r--r--miscutils/makedevs.c2
-rw-r--r--miscutils/mt.c2
-rw-r--r--miscutils/time.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/miscutils/eject.c b/miscutils/eject.c
index 189f54510..d4548628d 100644
--- a/miscutils/eject.c
+++ b/miscutils/eject.c
@@ -25,7 +25,7 @@
25#define CDROMEJECT 0x5309 /* Ejects the cdrom media */ 25#define CDROMEJECT 0x5309 /* Ejects the cdrom media */
26#define DEFAULT_CDROM "/dev/cdrom" 26#define DEFAULT_CDROM "/dev/cdrom"
27 27
28extern int eject_main(int argc, char **argv) 28int eject_main(int argc, char **argv)
29{ 29{
30 unsigned long flags; 30 unsigned long flags;
31 char *device; 31 char *device;
diff --git a/miscutils/last.c b/miscutils/last.c
index 72386ea94..e27e2f386 100644
--- a/miscutils/last.c
+++ b/miscutils/last.c
@@ -43,7 +43,7 @@
43#error struct utmp member char[] size(s) have changed! 43#error struct utmp member char[] size(s) have changed!
44#endif 44#endif
45 45
46extern int last_main(int argc, char **argv) 46int last_main(int argc, char **argv)
47{ 47{
48 struct utmp ut; 48 struct utmp ut;
49 int n, file = STDIN_FILENO; 49 int n, file = STDIN_FILENO;
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index 0268fbb9d..fa7535f05 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -77,7 +77,7 @@ int makedevs_main(int argc, char **argv)
77 77
78/* Licensed under the GPL v2 or later, see the file LICENSE in this tarball. */ 78/* Licensed under the GPL v2 or later, see the file LICENSE in this tarball. */
79 79
80extern int makedevs_main(int argc, char **argv) 80int makedevs_main(int argc, char **argv)
81{ 81{
82 FILE *table = stdin; 82 FILE *table = stdin;
83 char *rootdir = NULL; 83 char *rootdir = NULL;
diff --git a/miscutils/mt.c b/miscutils/mt.c
index b0cdaccb9..44efedbe3 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -50,7 +50,7 @@ static const struct mt_opcodes opcodes[] = {
50 {0, 0} 50 {0, 0}
51}; 51};
52 52
53extern int mt_main(int argc, char **argv) 53int mt_main(int argc, char **argv)
54{ 54{
55 const char *file = "/dev/tape"; 55 const char *file = "/dev/tape";
56 const struct mt_opcodes *code = opcodes; 56 const struct mt_opcodes *code = opcodes;
diff --git a/miscutils/time.c b/miscutils/time.c
index ca896a1c5..89c48547a 100644
--- a/miscutils/time.c
+++ b/miscutils/time.c
@@ -456,7 +456,7 @@ static void run_command (char *const *cmd, resource_t *resp)
456 signal (SIGQUIT, quit_signal); 456 signal (SIGQUIT, quit_signal);
457} 457}
458 458
459extern int time_main (int argc, char **argv) 459int time_main (int argc, char **argv)
460{ 460{
461 int gotone; 461 int gotone;
462 resource_t res; 462 resource_t res;