aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/transport_ats.c7
-rw-r--r--src/util/signal.c1
2 files changed, 6 insertions, 2 deletions
diff --git a/src/transport/transport_ats.c b/src/transport/transport_ats.c
index 06c4fa6aa..65398b3a0 100644
--- a/src/transport/transport_ats.c
+++ b/src/transport/transport_ats.c
@@ -461,11 +461,13 @@ static void _dummy2 ()
461 t = 0; 461 t = 0;
462} 462}
463 463
464
465
466
464/* 467/*
465 * ATS Functions 468 * ATS Functions
466 */ 469 */
467 470
468
469/** 471/**
470 * Initialize ATS 472 * Initialize ATS
471 * @param cfg configuration handle to retrieve configuration (to be removed) 473 * @param cfg configuration handle to retrieve configuration (to be removed)
@@ -1009,7 +1011,8 @@ int ats_create_problem (struct ATS_Handle *ats,
1009} 1011}
1010 1012
1011 1013
1012void ats_delete_problem (struct ATS_Handle * ats) 1014void
1015ats_delete_problem (struct ATS_Handle * ats)
1013{ 1016{
1014#if !HAVE_LIBGLPK 1017#if !HAVE_LIBGLPK
1015 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ATS not active\n"); 1018 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ATS not active\n");
diff --git a/src/util/signal.c b/src/util/signal.c
index 0fe4bfc96..2ace3911f 100644
--- a/src/util/signal.c
+++ b/src/util/signal.c
@@ -55,6 +55,7 @@ GNUNET_SIGNAL_handler_install (int signum, GNUNET_SIGNAL_Handler handler)
55 ret->sig = signum; 55 ret->sig = signum;
56 ret->method = handler; 56 ret->method = handler;
57#ifndef MINGW 57#ifndef MINGW
58 memset (&sig, 0, sizeof (sig));
58 sig.sa_handler = (void *) handler; 59 sig.sa_handler = (void *) handler;
59 sigemptyset (&sig.sa_mask); 60 sigemptyset (&sig.sa_mask);
60#ifdef SA_INTERRUPT 61#ifdef SA_INTERRUPT