aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index b824e9ea..c9959a74 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -1132,7 +1132,7 @@ sigalrmHandler (int sig)
1132/** 1132/**
1133 * Initialize the signal handler for SIGALRM. 1133 * Initialize the signal handler for SIGALRM.
1134 */ 1134 */
1135void __attribute__ ((constructor)) MHD_pthread_handlers_ltdl_init () 1135void __attribute__ ((constructor)) MHD_init ()
1136{ 1136{
1137#ifndef WINDOWS 1137#ifndef WINDOWS
1138 /* make sure SIGALRM does not kill us */ 1138 /* make sure SIGALRM does not kill us */
@@ -1150,7 +1150,7 @@ void __attribute__ ((constructor)) MHD_pthread_handlers_ltdl_init ()
1150#endif 1150#endif
1151} 1151}
1152 1152
1153void __attribute__ ((destructor)) MHD_pthread_handlers_ltdl_fini () 1153void __attribute__ ((destructor)) MHD_fini ()
1154{ 1154{
1155#if HTTPS_SUPPORT 1155#if HTTPS_SUPPORT
1156 if (0 != pthread_mutex_destroy(&MHD_gnutls_init_mutex)) 1156 if (0 != pthread_mutex_destroy(&MHD_gnutls_init_mutex))