aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
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");