diff options
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r-- | src/daemon/daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 57035fd1..1b4356f0 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c | |||
@@ -633,7 +633,7 @@ static void sigalrmHandler(int sig) { | |||
633 | /** | 633 | /** |
634 | * Initialize the signal handler for SIGALRM. | 634 | * Initialize the signal handler for SIGALRM. |
635 | */ | 635 | */ |
636 | void __attribute__ ((constructor)) pthread_handlers_ltdl_init() { | 636 | void __attribute__ ((constructor)) MHD_pthread_handlers_ltdl_init() { |
637 | /* make sure SIGALRM does not kill us */ | 637 | /* make sure SIGALRM does not kill us */ |
638 | memset(&sig, 0, sizeof(struct sigaction)); | 638 | memset(&sig, 0, sizeof(struct sigaction)); |
639 | memset(&old, 0, sizeof(struct sigaction)); | 639 | memset(&old, 0, sizeof(struct sigaction)); |
@@ -642,7 +642,7 @@ void __attribute__ ((constructor)) pthread_handlers_ltdl_init() { | |||
642 | sigaction(SIGALRM, &sig, &old); | 642 | sigaction(SIGALRM, &sig, &old); |
643 | } | 643 | } |
644 | 644 | ||
645 | void __attribute__ ((destructor)) pthread_handlers_ltdl_fini() { | 645 | void __attribute__ ((destructor)) MHD_pthread_handlers_ltdl_fini() { |
646 | sigaction(SIGALRM, &old, &sig); | 646 | sigaction(SIGALRM, &old, &sig); |
647 | } | 647 | } |
648 | 648 | ||