summaryrefslogtreecommitdiffhomepage
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)
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 {
unsigned int badpages[1];
} *p;
-static void init_signature_page()
+static void init_signature_page(void)
{
pagesize = getpagesize();
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)
perror_msg_and_die(applet_name);
}
-static void do_em_all()
+static void do_em_all(void)
{
struct mntent *m;
FILE *f = setmntent("/etc/fstab", "r");