diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-23 05:51:23 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-23 05:51:23 +0100 |
commit | 0e673d09e77f3c0848f924ed9eb92baa10df4677 (patch) | |
tree | c53860fe71f17fb9a881a1454780d164ec8c2674 /compat | |
parent | 1dd19eef3bc5f44f9adc5f2c34325bfa43067352 (diff) |
Make functions static and fix includes
Diffstat (limited to 'compat')
-rw-r--r-- | compat/dund.c | 4 | ||||
-rw-r--r-- | compat/msdun.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/compat/dund.c b/compat/dund.c index a0124268..4d505ddd 100644 --- a/compat/dund.c +++ b/compat/dund.c @@ -365,12 +365,12 @@ static void do_kill(char *dst) dun_kill_all_connections(); } -void sig_hup(int sig) +static void sig_hup(int sig) { return; } -void sig_term(int sig) +static void sig_term(int sig) { io_cancel(); terminate = 1; diff --git a/compat/msdun.c b/compat/msdun.c index 1ef559f1..a395234c 100644 --- a/compat/msdun.c +++ b/compat/msdun.c @@ -37,6 +37,7 @@ #include <string.h> #include "lib.h" +#include "dund.h" #define MS_PPP 2 #define MS_SUCCESS 1 |