add option to disable namecache, add velocity calculation and delay correction to...
[oweals/gnunet.git] / contrib / timeout_watchdog.c
index 7a0376b9f3040ef1476802aaf97b243821c577bc..fc61a7cc776e033fe2858e64b2e60dc1a8765be8 100644 (file)
 
 static pid_t child;
 
+
 static void
 sigchld_handler (int val)
 {
   int status = 0;
   int ret = 0;
 
+  (void) val;
   waitpid (child, &status, 0);
   if (WIFEXITED (status) != 0)
     {
@@ -53,6 +55,7 @@ sigchld_handler (int val)
   exit (ret);
 }
 
+
 static void
 sigint_handler (int val)
 {
@@ -60,8 +63,10 @@ sigint_handler (int val)
   exit (val);
 }
 
+
 int
-main (int argc, char *argv[])
+main (int argc,
+      char *argv[])
 {
   int timeout = 0;
   pid_t gpid = 0;