aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-18 04:11:39 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-18 04:11:39 +0000
commit74400ccfd08e8ff72b9147951dd437dd3bb7abb1 (patch)
treed1e5c30982d3ef735c33b3b52722aaaadd8daaaa /util-linux
parent8acbf1d3079e9ed6d15c39bd57135b13ecb4076f (diff)
downloadbusybox-w32-74400ccfd08e8ff72b9147951dd437dd3bb7abb1.tar.gz
busybox-w32-74400ccfd08e8ff72b9147951dd437dd3bb7abb1.tar.bz2
busybox-w32-74400ccfd08e8ff72b9147951dd437dd3bb7abb1.zip
Scrub up some function prototypes.
-Erik
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mkswap.c2
-rw-r--r--util-linux/swaponoff.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c
index f72c7009a..c773ecef9 100644
--- a/util-linux/mkswap.c
+++ b/util-linux/mkswap.c
@@ -81,7 +81,7 @@ static struct swap_header_v1 {
81 unsigned int badpages[1]; 81 unsigned int badpages[1];
82} *p; 82} *p;
83 83
84static void init_signature_page() 84static void init_signature_page(void)
85{ 85{
86 pagesize = getpagesize(); 86 pagesize = getpagesize();
87 87
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index ce0e2c6cc..d9eb5baae 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -59,7 +59,7 @@ static void swap_enable_disable(char *device)
59 perror_msg_and_die(applet_name); 59 perror_msg_and_die(applet_name);
60} 60}
61 61
62static void do_em_all() 62static void do_em_all(void)
63{ 63{
64 struct mntent *m; 64 struct mntent *m;
65 FILE *f = setmntent("/etc/fstab", "r"); 65 FILE *f = setmntent("/etc/fstab", "r");