--- gvpe/src/gvpe.C 2015/01/29 00:21:39 1.26 +++ gvpe/src/gvpe.C 2022/10/06 03:25:54 1.27 @@ -168,27 +168,27 @@ } // signal handlers -static RETSIGTYPE +static void sigterm_handler (int a) { network.events |= vpn::EVENT_SHUTDOWN; network.event.start (); } -static RETSIGTYPE +static void sighup_handler (int a) { network.events |= vpn::EVENT_RECONNECT; network.event.start (); } -static RETSIGTYPE +static void sigusr1_handler (int a) { network.dump_status (); } -static RETSIGTYPE +static void sigusr2_handler (int a) { }