From 1e717c9d3281ea79e8fba376debc4c8302cbf325 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 29 Dec 2009 08:49:43 +0000 Subject: Add missing `void' for functions without arguments. While there, rename die_you_gravy_sucking_pig_dog() to something that's less moronic. --- sbin/shutdown/shutdown.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sbin/shutdown') diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c index de3adec..9032866 100644 --- a/sbin/shutdown/shutdown.c +++ b/sbin/shutdown/shutdown.c @@ -93,7 +93,7 @@ static char mbuf[BUFSIZ]; static const char *nosync, *whom; static void badtime(void); -static void die_you_gravy_sucking_pig_dog(void); +static void perform_shutdown(void); static void finish(int); static void getoffset(char *); static void loop(void); @@ -258,7 +258,7 @@ loop(void) if (!tp->timeleft) break; } - die_you_gravy_sucking_pig_dog(); + perform_shutdown(); } static jmp_buf alarmbuf; @@ -325,7 +325,7 @@ timeout(int signo __unused) } static void -die_you_gravy_sucking_pig_dog() +perform_shutdown(void) { char *empty_environ[] = { NULL }; @@ -499,7 +499,7 @@ finish(int signo __unused) } static void -badtime() +badtime(void) { errx(1, "bad time format"); } -- cgit v1.1