summaryrefslogtreecommitdiff
path: root/swaponoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaponoff.c')
-rw-r--r--swaponoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaponoff.c b/swaponoff.c
index ce0e2c6..d9eb5ba 100644
--- a/swaponoff.c
+++ b/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");