projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sparse fixup: warning: non-ANSI function declaration of function '...'
[tinc]
/
src
/
tincd.c
diff --git
a/src/tincd.c
b/src/tincd.c
index
25db155
..
17d5008
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-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);
if (identname) free(identname);
if (netname) free(netname);
if (controlcookiename) free(controlcookiename);
@@
-290,7
+290,7
@@
static void free_names() {
if (confbase) free(confbase);
}
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");
#ifdef HAVE_MINGW
if (switchuser) {
logger(LOG_ERR, "%s not supported on this platform", "-U");