aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd')
-rw-r--r--src/microhttpd/EXPORT.sym39
-rw-r--r--src/microhttpd/Makefile.am4
-rw-r--r--src/microhttpd/base64.c1
-rw-r--r--src/microhttpd/base64.h1
-rw-r--r--src/microhttpd/connection.c7
-rw-r--r--src/microhttpd/connection.h2
-rw-r--r--src/microhttpd/connection_https.c1
-rw-r--r--src/microhttpd/daemon.c16
-rw-r--r--src/microhttpd/internal.c5
-rw-r--r--src/microhttpd/internal.h2
-rw-r--r--src/microhttpd/md5.c6
-rw-r--r--src/microhttpd/md5.h6
-rw-r--r--src/microhttpd/memorypool.c6
-rw-r--r--src/microhttpd/memorypool.h6
-rw-r--r--src/microhttpd/reason_phrase.c1
-rw-r--r--src/microhttpd/response.c2
-rw-r--r--src/microhttpd/response.h2
17 files changed, 21 insertions, 86 deletions
diff --git a/src/microhttpd/EXPORT.sym b/src/microhttpd/EXPORT.sym
deleted file mode 100644
index 402a0ef3..00000000
--- a/src/microhttpd/EXPORT.sym
+++ /dev/null
@@ -1,39 +0,0 @@
1MHD_start_daemon
2MHD_start_daemon_va
3MHD_stop_daemon
4MHD_get_fdset
5MHD_get_timeout
6MHD_run
7MHD_run_from_select
8MHD_get_connection_values
9MHD_set_connection_value
10MHD_lookup_connection_value
11MHD_queue_response
12MHD_create_response_from_callback
13MHD_create_response_from_data
14MHD_create_response_from_fd
15MHD_create_response_from_fd_at_offset
16MHD_create_response_from_buffer
17MHD_destroy_response
18MHD_add_response_header
19MHD_add_response_footer
20MHD_del_response_header
21MHD_get_response_headers
22MHD_get_response_header
23MHD_create_post_processor
24MHD_post_process
25MHD_quiesce_daemon
26MHD_destroy_post_processor
27MHD_get_daemon_info
28MHD_get_connection_info
29MHD_set_panic_func
30MHD_get_version
31MHD_digest_auth_get_username
32MHD_digest_auth_check
33MHD_queue_auth_fail_response
34MHD_basic_auth_get_username_password
35MHD_queue_basic_auth_fail_response
36MHD_add_connection
37MHD_set_connection_option
38MHD_suspend_connection
39MHD_resume_connection
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am
index 54706f56..d3c4b286 100644
--- a/src/microhttpd/Makefile.am
+++ b/src/microhttpd/Makefile.am
@@ -6,10 +6,9 @@ AM_CPPFLAGS = \
6 $(PLIBC_INCLUDE) \ 6 $(PLIBC_INCLUDE) \
7 -I$(top_srcdir)/src/include \ 7 -I$(top_srcdir)/src/include \
8 -I$(top_srcdir)/src/daemon \ 8 -I$(top_srcdir)/src/daemon \
9 $(HIDDEN_VISIBILITY_CFLAGS) \
9 @LIBGCRYPT_CFLAGS@ 10 @LIBGCRYPT_CFLAGS@
10 11
11EXTRA_DIST = EXPORT.sym
12
13lib_LTLIBRARIES = \ 12lib_LTLIBRARIES = \
14 libmicrohttpd.la 13 libmicrohttpd.la
15 14
@@ -23,7 +22,6 @@ libmicrohttpd_la_SOURCES = \
23 response.c response.h 22 response.c response.h
24libmicrohttpd_la_LDFLAGS = \ 23libmicrohttpd_la_LDFLAGS = \
25 $(MHD_LIB_LDFLAGS) \ 24 $(MHD_LIB_LDFLAGS) \
26 -export-symbols $(top_srcdir)/src/microhttpd/EXPORT.sym \
27 -version-info @LIB_VERSION_CURRENT@:@LIB_VERSION_REVISION@:@LIB_VERSION_AGE@ 25 -version-info @LIB_VERSION_CURRENT@:@LIB_VERSION_REVISION@:@LIB_VERSION_AGE@
28 26
29if USE_COVERAGE 27if USE_COVERAGE
diff --git a/src/microhttpd/base64.c b/src/microhttpd/base64.c
index 3e390b8b..4fb4755e 100644
--- a/src/microhttpd/base64.c
+++ b/src/microhttpd/base64.c
@@ -26,7 +26,6 @@ static const char base64_digits[] =
26 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; 26 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
27 27
28 28
29HIDDEN_SYMBOL
30char * 29char *
31BASE64Decode(const char* src) 30BASE64Decode(const char* src)
32{ 31{
diff --git a/src/microhttpd/base64.h b/src/microhttpd/base64.h
index 34948c07..ba96ca0c 100644
--- a/src/microhttpd/base64.h
+++ b/src/microhttpd/base64.h
@@ -11,7 +11,6 @@
11 11
12#include "platform.h" 12#include "platform.h"
13 13
14HIDDEN_SYMBOL
15char * 14char *
16BASE64Decode(const char* src); 15BASE64Decode(const char* src);
17 16
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 7709a92d..684c5b01 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -257,7 +257,7 @@ need_100_continue (struct MHD_Connection *connection)
257 * @param connection connection to close 257 * @param connection connection to close
258 * @param termination_code termination reason to give 258 * @param termination_code termination reason to give
259 */ 259 */
260void HIDDEN_SYMBOL 260void
261MHD_connection_close (struct MHD_Connection *connection, 261MHD_connection_close (struct MHD_Connection *connection,
262 enum MHD_RequestTerminationCode termination_code) 262 enum MHD_RequestTerminationCode termination_code)
263{ 263{
@@ -1927,7 +1927,6 @@ update_last_activity (struct MHD_Connection *connection)
1927 * @return always #MHD_YES (we should continue to process the 1927 * @return always #MHD_YES (we should continue to process the
1928 * connection) 1928 * connection)
1929 */ 1929 */
1930HIDDEN_SYMBOL
1931int 1930int
1932MHD_connection_handle_read (struct MHD_Connection *connection) 1931MHD_connection_handle_read (struct MHD_Connection *connection)
1933{ 1932{
@@ -1991,7 +1990,6 @@ MHD_connection_handle_read (struct MHD_Connection *connection)
1991 * @return always #MHD_YES (we should continue to process the 1990 * @return always #MHD_YES (we should continue to process the
1992 * connection) 1991 * connection)
1993 */ 1992 */
1994HIDDEN_SYMBOL
1995int 1993int
1996MHD_connection_handle_write (struct MHD_Connection *connection) 1994MHD_connection_handle_write (struct MHD_Connection *connection)
1997{ 1995{
@@ -2195,7 +2193,6 @@ cleanup_connection (struct MHD_Connection *connection)
2195 * @return #MHD_YES if we should continue to process the 2193 * @return #MHD_YES if we should continue to process the
2196 * connection (not dead yet), #MHD_NO if it died 2194 * connection (not dead yet), #MHD_NO if it died
2197 */ 2195 */
2198HIDDEN_SYMBOL
2199int 2196int
2200MHD_connection_handle_idle (struct MHD_Connection *connection) 2197MHD_connection_handle_idle (struct MHD_Connection *connection)
2201{ 2198{
@@ -2633,7 +2630,6 @@ MHD_connection_handle_idle (struct MHD_Connection *connection)
2633 * @return #MHD_YES if we should continue to process the 2630 * @return #MHD_YES if we should continue to process the
2634 * connection (not dead yet), #MHD_NO if it died 2631 * connection (not dead yet), #MHD_NO if it died
2635 */ 2632 */
2636HIDDEN_SYMBOL
2637int 2633int
2638MHD_connection_epoll_update_ (struct MHD_Connection *connection) 2634MHD_connection_epoll_update_ (struct MHD_Connection *connection)
2639{ 2635{
@@ -2681,7 +2677,6 @@ MHD_connection_epoll_update_ (struct MHD_Connection *connection)
2681 * 2677 *
2682 * @param connection connection to initialize 2678 * @param connection connection to initialize
2683 */ 2679 */
2684HIDDEN_SYMBOL
2685void 2680void
2686MHD_set_http_callbacks_ (struct MHD_Connection *connection) 2681MHD_set_http_callbacks_ (struct MHD_Connection *connection)
2687{ 2682{
diff --git a/src/microhttpd/connection.h b/src/microhttpd/connection.h
index 1520d46e..4b87c3ef 100644
--- a/src/microhttpd/connection.h
+++ b/src/microhttpd/connection.h
@@ -88,7 +88,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection);
88 * @param connection connection to close 88 * @param connection connection to close
89 * @param termination_code termination reason to give 89 * @param termination_code termination reason to give
90 */ 90 */
91void HIDDEN_SYMBOL 91void
92MHD_connection_close (struct MHD_Connection *connection, 92MHD_connection_close (struct MHD_Connection *connection,
93 enum MHD_RequestTerminationCode termination_code); 93 enum MHD_RequestTerminationCode termination_code);
94 94
diff --git a/src/microhttpd/connection_https.c b/src/microhttpd/connection_https.c
index 474eece7..b566d83c 100644
--- a/src/microhttpd/connection_https.c
+++ b/src/microhttpd/connection_https.c
@@ -170,7 +170,6 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection)
170 * 170 *
171 * @param connection which callbacks should be modified 171 * @param connection which callbacks should be modified
172 */ 172 */
173HIDDEN_SYMBOL
174void 173void
175MHD_set_https_callbacks (struct MHD_Connection *connection) 174MHD_set_https_callbacks (struct MHD_Connection *connection)
176{ 175{
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index fb7eb145..b0a940fe 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -121,13 +121,11 @@ mhd_panic_std (void *cls,
121/** 121/**
122 * Handler for fatal errors. 122 * Handler for fatal errors.
123 */ 123 */
124HIDDEN_SYMBOL
125MHD_PanicCallback mhd_panic; 124MHD_PanicCallback mhd_panic;
126 125
127/** 126/**
128 * Closure argument for "mhd_panic". 127 * Closure argument for "mhd_panic".
129 */ 128 */
130HIDDEN_SYMBOL
131void *mhd_panic_cls; 129void *mhd_panic_cls;
132 130
133 131
@@ -4141,11 +4139,11 @@ MHD_get_version (void)
4141 4139
4142 4140
4143#ifdef __GNUC__ 4141#ifdef __GNUC__
4144#define ATTRIBUTE_CONSTRUCTOR __attribute__ ((constructor)) 4142#define FUNC_CONSTRUCTOR(f) static void __attribute__ ((constructor)) f
4145#define ATTRIBUTE_DESTRUCTOR __attribute__ ((destructor)) 4143#define FUNC_DESTRUCTOR(f) static void __attribute__ ((destructor)) f
4146#else // !__GNUC__ 4144#else // !__GNUC__
4147#define ATTRIBUTE_CONSTRUCTOR 4145#define FUNC_CONSTRUCTOR(f) _MHD_EXTERN void f
4148#define ATTRIBUTE_DESTRUCTOR 4146#define FUNC_DESTRUCTOR(f) _MHD_EXTERN void f
4149#endif // __GNUC__ 4147#endif // __GNUC__
4150 4148
4151#if HTTPS_SUPPORT 4149#if HTTPS_SUPPORT
@@ -4158,8 +4156,7 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
4158/** 4156/**
4159 * Initialize do setup work. 4157 * Initialize do setup work.
4160 */ 4158 */
4161void ATTRIBUTE_CONSTRUCTOR 4159FUNC_CONSTRUCTOR (MHD_init) ()
4162MHD_init ()
4163{ 4160{
4164 mhd_panic = &mhd_panic_std; 4161 mhd_panic = &mhd_panic_std;
4165 mhd_panic_cls = NULL; 4162 mhd_panic_cls = NULL;
@@ -4177,8 +4174,7 @@ MHD_init ()
4177} 4174}
4178 4175
4179 4176
4180void ATTRIBUTE_DESTRUCTOR 4177FUNC_DESTRUCTOR (MHD_fini) ()
4181MHD_fini ()
4182{ 4178{
4183#if HTTPS_SUPPORT 4179#if HTTPS_SUPPORT
4184 gnutls_global_deinit (); 4180 gnutls_global_deinit ();
diff --git a/src/microhttpd/internal.c b/src/microhttpd/internal.c
index 7afaba74..9b234fea 100644
--- a/src/microhttpd/internal.c
+++ b/src/microhttpd/internal.c
@@ -31,7 +31,6 @@
31/** 31/**
32 * State to string dictionary. 32 * State to string dictionary.
33 */ 33 */
34HIDDEN_SYMBOL
35const char * 34const char *
36MHD_state_to_string (enum MHD_CONNECTION_STATE state) 35MHD_state_to_string (enum MHD_CONNECTION_STATE state)
37{ 36{
@@ -91,7 +90,7 @@ MHD_state_to_string (enum MHD_CONNECTION_STATE state)
91 * fprintf-like helper function for logging debug 90 * fprintf-like helper function for logging debug
92 * messages. 91 * messages.
93 */ 92 */
94void HIDDEN_SYMBOL 93void
95MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...) 94MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...)
96{ 95{
97 va_list va; 96 va_list va;
@@ -116,7 +115,6 @@ MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...)
116 * @return length of the resulting val (strlen(val) maybe 115 * @return length of the resulting val (strlen(val) maybe
117 * shorter afterwards due to elimination of escape sequences) 116 * shorter afterwards due to elimination of escape sequences)
118 */ 117 */
119HIDDEN_SYMBOL
120size_t 118size_t
121MHD_http_unescape (void *cls, 119MHD_http_unescape (void *cls,
122 struct MHD_Connection *connection, 120 struct MHD_Connection *connection,
@@ -167,7 +165,6 @@ MHD_http_unescape (void *cls,
167} 165}
168 166
169 167
170HIDDEN_SYMBOL
171time_t 168time_t
172MHD_monotonic_time (void) 169MHD_monotonic_time (void)
173{ 170{
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 6146e2ac..9d50de25 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -189,7 +189,7 @@ struct MHD_NonceNc
189 * fprintf-like helper function for logging debug 189 * fprintf-like helper function for logging debug
190 * messages. 190 * messages.
191 */ 191 */
192void HIDDEN_SYMBOL 192void
193MHD_DLOG (const struct MHD_Daemon *daemon, 193MHD_DLOG (const struct MHD_Daemon *daemon,
194 const char *format, ...); 194 const char *format, ...);
195#endif 195#endif
diff --git a/src/microhttpd/md5.c b/src/microhttpd/md5.c
index 309f492c..e35d5f26 100644
--- a/src/microhttpd/md5.c
+++ b/src/microhttpd/md5.c
@@ -150,7 +150,7 @@ MD5Transform(uint32_t buf[4],
150 * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious 150 * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
151 * initialization constants. 151 * initialization constants.
152 */ 152 */
153void HIDDEN_SYMBOL 153void
154MD5Init(struct MD5Context *ctx) 154MD5Init(struct MD5Context *ctx)
155{ 155{
156 ctx->buf[0] = 0x67452301; 156 ctx->buf[0] = 0x67452301;
@@ -166,7 +166,7 @@ MD5Init(struct MD5Context *ctx)
166 * Update context to reflect the concatenation of another buffer full 166 * Update context to reflect the concatenation of another buffer full
167 * of bytes. 167 * of bytes.
168 */ 168 */
169void HIDDEN_SYMBOL 169void
170MD5Update(struct MD5Context *ctx, 170MD5Update(struct MD5Context *ctx,
171 const void *data, 171 const void *data,
172 unsigned len) 172 unsigned len)
@@ -218,7 +218,7 @@ MD5Update(struct MD5Context *ctx,
218 * Final wrapup - pad to 64-byte boundary with the bit pattern 218 * Final wrapup - pad to 64-byte boundary with the bit pattern
219 * 1 0* (64-bit count of bits processed, MSB-first) 219 * 1 0* (64-bit count of bits processed, MSB-first)
220 */ 220 */
221void HIDDEN_SYMBOL 221void
222MD5Final (unsigned char digest[16], 222MD5Final (unsigned char digest[16],
223 struct MD5Context *ctx) 223 struct MD5Context *ctx)
224{ 224{
diff --git a/src/microhttpd/md5.h b/src/microhttpd/md5.h
index 077b2e8c..5e77774c 100644
--- a/src/microhttpd/md5.h
+++ b/src/microhttpd/md5.h
@@ -37,15 +37,15 @@ struct MD5Context
37}; 37};
38 38
39 39
40void HIDDEN_SYMBOL 40void
41MD5Init(struct MD5Context *ctx); 41MD5Init(struct MD5Context *ctx);
42 42
43void HIDDEN_SYMBOL 43void
44MD5Update(struct MD5Context *ctx, 44MD5Update(struct MD5Context *ctx,
45 const void *buf, 45 const void *buf,
46 unsigned len); 46 unsigned len);
47 47
48void HIDDEN_SYMBOL 48void
49MD5Final(unsigned char digest[MD5_DIGEST_SIZE], 49MD5Final(unsigned char digest[MD5_DIGEST_SIZE],
50 struct MD5Context *ctx); 50 struct MD5Context *ctx);
51 51
diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
index 06ef06b9..57962c17 100644
--- a/src/microhttpd/memorypool.c
+++ b/src/microhttpd/memorypool.c
@@ -83,7 +83,6 @@ struct MemoryPool
83 * @param max maximum size of the pool 83 * @param max maximum size of the pool
84 * @return NULL on error 84 * @return NULL on error
85 */ 85 */
86HIDDEN_SYMBOL
87struct MemoryPool * 86struct MemoryPool *
88MHD_pool_create (size_t max) 87MHD_pool_create (size_t max)
89{ 88{
@@ -127,7 +126,7 @@ MHD_pool_create (size_t max)
127 * 126 *
128 * @param pool memory pool to destroy 127 * @param pool memory pool to destroy
129 */ 128 */
130void HIDDEN_SYMBOL 129void
131MHD_pool_destroy (struct MemoryPool *pool) 130MHD_pool_destroy (struct MemoryPool *pool)
132{ 131{
133 if (pool == NULL) 132 if (pool == NULL)
@@ -151,7 +150,6 @@ MHD_pool_destroy (struct MemoryPool *pool)
151 * @return NULL if the pool cannot support size more 150 * @return NULL if the pool cannot support size more
152 * bytes 151 * bytes
153 */ 152 */
154HIDDEN_SYMBOL
155void * 153void *
156MHD_pool_allocate (struct MemoryPool *pool, 154MHD_pool_allocate (struct MemoryPool *pool,
157 size_t size, int from_end) 155 size_t size, int from_end)
@@ -195,7 +193,6 @@ MHD_pool_allocate (struct MemoryPool *pool,
195 * NULL if the pool cannot support @a new_size 193 * NULL if the pool cannot support @a new_size
196 * bytes (old continues to be valid for @a old_size) 194 * bytes (old continues to be valid for @a old_size)
197 */ 195 */
198HIDDEN_SYMBOL
199void * 196void *
200MHD_pool_reallocate (struct MemoryPool *pool, 197MHD_pool_reallocate (struct MemoryPool *pool,
201 void *old, 198 void *old,
@@ -250,7 +247,6 @@ MHD_pool_reallocate (struct MemoryPool *pool,
250 * @param size how many bytes need to be kept at this address 247 * @param size how many bytes need to be kept at this address
251 * @return addr new address of @a keep (if it had to change) 248 * @return addr new address of @a keep (if it had to change)
252 */ 249 */
253HIDDEN_SYMBOL
254void * 250void *
255MHD_pool_reset (struct MemoryPool *pool, 251MHD_pool_reset (struct MemoryPool *pool,
256 void *keep, 252 void *keep,
diff --git a/src/microhttpd/memorypool.h b/src/microhttpd/memorypool.h
index 5fc52e6d..bf929d2f 100644
--- a/src/microhttpd/memorypool.h
+++ b/src/microhttpd/memorypool.h
@@ -44,7 +44,6 @@ struct MemoryPool;
44 * @param max maximum size of the pool 44 * @param max maximum size of the pool
45 * @return NULL on error 45 * @return NULL on error
46 */ 46 */
47HIDDEN_SYMBOL
48struct MemoryPool * 47struct MemoryPool *
49MHD_pool_create (size_t max); 48MHD_pool_create (size_t max);
50 49
@@ -54,7 +53,7 @@ MHD_pool_create (size_t max);
54 * 53 *
55 * @param pool memory pool to destroy 54 * @param pool memory pool to destroy
56 */ 55 */
57void HIDDEN_SYMBOL 56void
58MHD_pool_destroy (struct MemoryPool *pool); 57MHD_pool_destroy (struct MemoryPool *pool);
59 58
60 59
@@ -69,7 +68,6 @@ MHD_pool_destroy (struct MemoryPool *pool);
69 * @return NULL if the pool cannot support size more 68 * @return NULL if the pool cannot support size more
70 * bytes 69 * bytes
71 */ 70 */
72HIDDEN_SYMBOL
73void * 71void *
74MHD_pool_allocate (struct MemoryPool *pool, 72MHD_pool_allocate (struct MemoryPool *pool,
75 size_t size, int from_end); 73 size_t size, int from_end);
@@ -92,7 +90,6 @@ MHD_pool_allocate (struct MemoryPool *pool,
92 * NULL if the pool cannot support new_size 90 * NULL if the pool cannot support new_size
93 * bytes (old continues to be valid for old_size) 91 * bytes (old continues to be valid for old_size)
94 */ 92 */
95HIDDEN_SYMBOL
96void * 93void *
97MHD_pool_reallocate (struct MemoryPool *pool, 94MHD_pool_reallocate (struct MemoryPool *pool,
98 void *old, 95 void *old,
@@ -109,7 +106,6 @@ MHD_pool_reallocate (struct MemoryPool *pool,
109 * @param size how many bytes need to be kept at this address 106 * @param size how many bytes need to be kept at this address
110 * @return addr new address of "keep" (if it had to change) 107 * @return addr new address of "keep" (if it had to change)
111 */ 108 */
112HIDDEN_SYMBOL
113void * 109void *
114MHD_pool_reset (struct MemoryPool *pool, 110MHD_pool_reset (struct MemoryPool *pool,
115 void *keep, 111 void *keep,
diff --git a/src/microhttpd/reason_phrase.c b/src/microhttpd/reason_phrase.c
index f97d1fbf..c809fdd2 100644
--- a/src/microhttpd/reason_phrase.c
+++ b/src/microhttpd/reason_phrase.c
@@ -149,7 +149,6 @@ static const struct MHD_Reason_Block reasons[] = {
149}; 149};
150 150
151 151
152HIDDEN_SYMBOL
153const char * 152const char *
154MHD_get_reason_phrase_for (unsigned int code) 153MHD_get_reason_phrase_for (unsigned int code)
155{ 154{
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index c95b9176..abaa64ca 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -469,7 +469,7 @@ MHD_destroy_response (struct MHD_Response *response)
469} 469}
470 470
471 471
472void HIDDEN_SYMBOL 472void
473MHD_increment_response_rc (struct MHD_Response *response) 473MHD_increment_response_rc (struct MHD_Response *response)
474{ 474{
475 pthread_mutex_lock (&response->mutex); 475 pthread_mutex_lock (&response->mutex);
diff --git a/src/microhttpd/response.h b/src/microhttpd/response.h
index c79b0058..dcf19350 100644
--- a/src/microhttpd/response.h
+++ b/src/microhttpd/response.h
@@ -31,7 +31,7 @@
31 * Increment response RC. Should this be part of the 31 * Increment response RC. Should this be part of the
32 * public API? 32 * public API?
33 */ 33 */
34void HIDDEN_SYMBOL 34void
35MHD_increment_response_rc (struct MHD_Response *response); 35MHD_increment_response_rc (struct MHD_Response *response);
36 36
37 37