File 6tunnel-gcc15.patch of Package 6tunnel
Index: 6tunnel-0.13/6tunnel.c
===================================================================
--- 6tunnel-0.13.orig/6tunnel.c
+++ 6tunnel-0.13/6tunnel.c
@@ -557,7 +557,7 @@ void map_read(void)
fclose(f);
}
-void sighup()
+void sighup(int unused)
{
source_map_destroy();
map_read();
@@ -565,7 +565,7 @@ void sighup()
signal(SIGHUP, sighup);
}
-void sigchld()
+void sigchld(int unused)
{
while (waitpid(-1, NULL, WNOHANG) > 0) {
debug("child process exited\n");
@@ -575,7 +575,7 @@ void sigchld()
signal(SIGCHLD, sigchld);
}
-void sigterm()
+void sigterm(int unused)
{
if (pid_file != NULL)
unlink(pid_file);