mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Add missing `void' for functions without arguments.
While there, rename die_you_gravy_sucking_pig_dog() to something that's less moronic.
This commit is contained in:
parent
3d65b2f568
commit
27d434af3e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201180
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue