From a263d605ff680f52f5fa4c5b654732293fa264d6 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sat, 23 Apr 2022 15:10:13 +0300 Subject: [PATCH] daemon.c: added prototypes for non-static functions --- src/microhttpd/daemon.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 5a72531f..086453d8 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -88,6 +88,19 @@ /* Forward declarations. */ + +/** + * Global initialisation function. + */ +void +MHD_init (void); + +/** + * Global deinitialisation function. + */ +void +MHD_fini (void); + /** * Close all connections for the daemon. * Must only be called when MHD_Daemon::shutdown was set to true. @@ -116,12 +129,6 @@ MHD_epoll (struct MHD_Daemon *daemon, #endif /* EPOLL_SUPPORT */ -/** - * Globally initialise library. - */ -void -MHD_init (void); - #if defined(MHD_WINSOCK_SOCKETS) /**