rpc.lockd: Use valid prototypes for function declarations with no arguments.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39727
This commit is contained in:
parent
0a04bb7a4f
commit
7b043ce598
@ -845,7 +845,7 @@ sigalarm_handler(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
usage()
|
usage(void)
|
||||||
{
|
{
|
||||||
errx(1, "usage: rpc.lockd [-d <debuglevel>]"
|
errx(1, "usage: rpc.lockd [-d <debuglevel>]"
|
||||||
" [-F] [-g <grace period>] [-h <bindip>] [-p <port>]");
|
" [-F] [-g <grace period>] [-h <bindip>] [-p <port>]");
|
||||||
@ -904,7 +904,8 @@ init_nsm(void)
|
|||||||
/*
|
/*
|
||||||
* Out of memory, fatal
|
* Out of memory, fatal
|
||||||
*/
|
*/
|
||||||
void out_of_mem()
|
void
|
||||||
|
out_of_mem(void)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "out of memory");
|
syslog(LOG_ERR, "out of memory");
|
||||||
exit(2);
|
exit(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user