diff options
author | ed <ed@FreeBSD.org> | 2009-12-29 08:49:43 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-12-29 08:49:43 +0000 |
commit | 1e717c9d3281ea79e8fba376debc4c8302cbf325 (patch) | |
tree | 085860ecf7f8ce4f123372c25c4048de99e72aba | |
parent | 19e06e638405748af38265f2e8cc1f62fb15bce5 (diff) | |
download | FreeBSD-src-1e717c9d3281ea79e8fba376debc4c8302cbf325.zip FreeBSD-src-1e717c9d3281ea79e8fba376debc4c8302cbf325.tar.gz |
Add missing `void' for functions without arguments.
While there, rename die_you_gravy_sucking_pig_dog() to something that's
less moronic.
-rw-r--r-- | sbin/shutdown/shutdown.c | 8 |
1 files changed, 4 insertions, 4 deletions
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"); } |