sparse fixup: warning: non-ANSI function declaration of function '...'

This commit is contained in:
Sven-Haegar Koch 2011-05-28 03:57:20 +02:00 committed by Guus Sliepen
parent d772289f6d
commit f4010694b3
10 changed files with 15 additions and 19 deletions

View file

@ -282,7 +282,7 @@ static void make_names(void) {
}
}
static void free_names() {
static void free_names(void) {
if (identname) free(identname);
if (netname) free(netname);
if (controlcookiename) free(controlcookiename);
@ -290,7 +290,7 @@ static void free_names() {
if (confbase) free(confbase);
}
static bool drop_privs() {
static bool drop_privs(void) {
#ifdef HAVE_MINGW
if (switchuser) {
logger(LOG_ERR, "%s not supported on this platform", "-U");