Add a third default.
[oweals/gnunet.git] / src / util / test_common_logging_runtime_loglevels.c
index 8edf9519485e11c663ff0ccf4b1e051225d340ff..14055e11f9a5f525e097e38ac6fd286bde2b29fb 100644 (file)
  * @author LRN
  */
 #include "platform.h"
-#include "gnunet_common.h"
-#include "gnunet_scheduler_lib.h"
-#include "gnunet_network_lib.h"
-#include "gnunet_disk_lib.h"
-#include "gnunet_os_lib.h"
+#include "gnunet_util_lib.h"
 
 #define VERBOSE GNUNET_NO
 
@@ -68,7 +64,7 @@ end_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
               ok);
   if (NULL != proc)
   {
-    if (0 != GNUNET_OS_process_kill (proc, SIGTERM))
+    if (0 != GNUNET_OS_process_kill (proc, GNUNET_TERM_SIG))
     {
       GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill");
     }
@@ -100,7 +96,7 @@ end_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 static char *
 read_output_line (int phase_from1, int phase_to1, int phase_from2,
                   int phase_to2, char c, const char *expect_level,
-                  long delay_morethan, long delay_lessthan, int phase, 
+                  long delay_morethan, long delay_lessthan, int phase,
                  char *p,
                   int *len, long *delay, char level[8])
 {