ppp: Use valid prototypes for function declarations with no arguments.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39730
This commit is contained in:
parent
4b75b42ddb
commit
672eba2435
@ -1354,7 +1354,7 @@ bundle_GetLabel(struct bundle *bundle)
|
||||
}
|
||||
|
||||
int
|
||||
bundle_LinkSize()
|
||||
bundle_LinkSize(void)
|
||||
{
|
||||
struct iovec iov[SCATTER_SEGMENTS];
|
||||
int niov, expect, f;
|
||||
|
@ -384,7 +384,7 @@ SetTitle(const char *title)
|
||||
}
|
||||
|
||||
fd_set *
|
||||
mkfdset()
|
||||
mkfdset(void)
|
||||
{
|
||||
return (fd_set *)malloc(howmany(getdtablesize(), NFDBITS) * sizeof (fd_mask));
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ static int uid;
|
||||
static int euid;
|
||||
|
||||
void
|
||||
ID0init()
|
||||
ID0init(void)
|
||||
{
|
||||
uid = getuid();
|
||||
euid = geteuid();
|
||||
@ -77,7 +77,7 @@ ID0setuser(void)
|
||||
}
|
||||
|
||||
uid_t
|
||||
ID0realuid()
|
||||
ID0realuid(void)
|
||||
{
|
||||
return uid;
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ struct prompt *log_PromptContext;
|
||||
int log_PromptListChanged;
|
||||
|
||||
struct prompt *
|
||||
log_PromptList()
|
||||
log_PromptList(void)
|
||||
{
|
||||
return promptlist;
|
||||
}
|
||||
@ -163,7 +163,7 @@ log_DestroyPrompts(struct server *s)
|
||||
}
|
||||
|
||||
void
|
||||
log_DisplayPrompts()
|
||||
log_DisplayPrompts(void)
|
||||
{
|
||||
struct prompt *p;
|
||||
|
||||
@ -254,7 +254,7 @@ log_DiscardLocal(int id, u_long *mask)
|
||||
}
|
||||
|
||||
void
|
||||
log_DiscardAll()
|
||||
log_DiscardAll(void)
|
||||
{
|
||||
LogMask = 0;
|
||||
}
|
||||
@ -306,7 +306,7 @@ log_SetTun(int tunno, const char *ifaceName)
|
||||
}
|
||||
|
||||
void
|
||||
log_Close()
|
||||
log_Close(void)
|
||||
{
|
||||
closelog();
|
||||
LogTunno = -1;
|
||||
|
@ -112,7 +112,7 @@ static struct prompt *SignalPrompt;
|
||||
struct libalias *la;
|
||||
|
||||
void
|
||||
Cleanup()
|
||||
Cleanup(void)
|
||||
{
|
||||
SignalBundle->CleaningUp = 1;
|
||||
bundle_Close(SignalBundle, NULL, CLOSE_STAYDOWN);
|
||||
|
@ -646,7 +646,7 @@ iov2physical(struct datalink *dl, struct iovec *iov, int *niov, int maxiov,
|
||||
}
|
||||
|
||||
unsigned
|
||||
physical_MaxDeviceSize()
|
||||
physical_MaxDeviceSize(void)
|
||||
{
|
||||
unsigned biggest, sz, n;
|
||||
|
||||
|
@ -67,7 +67,7 @@ ipv6_available(void)
|
||||
#endif
|
||||
|
||||
void
|
||||
probe_Init()
|
||||
probe_Init(void)
|
||||
{
|
||||
probe.select_changes_time = select_changes_time() ? 1 : 0;
|
||||
log_Printf(LogDEBUG, "Select changes time: %s\n",
|
||||
|
@ -94,7 +94,7 @@ sig_signal(int sig, sig_type fn)
|
||||
* select() returned due to a signal being recorded by signal_recorder().
|
||||
*/
|
||||
int
|
||||
sig_Handle()
|
||||
sig_Handle(void)
|
||||
{
|
||||
int sig;
|
||||
int got;
|
||||
|
Loading…
Reference in New Issue
Block a user