X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprocess.c;h=a70d8d28e00d8f77195103e296d5db9ba8a537ee;hp=f149d7cd11051817cba12f17c767aaac9c37e2de;hb=161f917dd03c174742fb8c6722f430a93b506cb1;hpb=f75dcef72a81a337e847adf0bae54198894f65b9 diff --git a/src/process.c b/src/process.c index f149d7cd..a70d8d28 100644 --- a/src/process.c +++ b/src/process.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: process.c,v 1.1.2.46 2002/09/09 21:24:41 guus Exp $ + $Id: process.c,v 1.1.2.48 2002/09/10 09:40:25 guus Exp $ */ #include "config.h" @@ -220,8 +220,6 @@ void _execute_script(const char *scriptname, char **envp) __attribute__ ((noreturn)); void _execute_script(const char *scriptname, char **envp) { - char *s; - cp(); while(*envp) @@ -423,7 +421,7 @@ RETSIGTYPE ignore_signal_handler(int a) struct { int signal; - void (*handler) (int); + void (*handler)(int); } sighandlers[] = { { SIGHUP, sighup_handler}, {