diff options
Diffstat (limited to 'src/microhttpd')
-rw-r--r-- | src/microhttpd/EXPORT.sym | 39 | ||||
-rw-r--r-- | src/microhttpd/Makefile.am | 4 | ||||
-rw-r--r-- | src/microhttpd/base64.c | 1 | ||||
-rw-r--r-- | src/microhttpd/base64.h | 1 | ||||
-rw-r--r-- | src/microhttpd/connection.c | 7 | ||||
-rw-r--r-- | src/microhttpd/connection.h | 2 | ||||
-rw-r--r-- | src/microhttpd/connection_https.c | 1 | ||||
-rw-r--r-- | src/microhttpd/daemon.c | 16 | ||||
-rw-r--r-- | src/microhttpd/internal.c | 5 | ||||
-rw-r--r-- | src/microhttpd/internal.h | 2 | ||||
-rw-r--r-- | src/microhttpd/md5.c | 6 | ||||
-rw-r--r-- | src/microhttpd/md5.h | 6 | ||||
-rw-r--r-- | src/microhttpd/memorypool.c | 6 | ||||
-rw-r--r-- | src/microhttpd/memorypool.h | 6 | ||||
-rw-r--r-- | src/microhttpd/reason_phrase.c | 1 | ||||
-rw-r--r-- | src/microhttpd/response.c | 2 | ||||
-rw-r--r-- | src/microhttpd/response.h | 2 |
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 @@ | |||
1 | MHD_start_daemon | ||
2 | MHD_start_daemon_va | ||
3 | MHD_stop_daemon | ||
4 | MHD_get_fdset | ||
5 | MHD_get_timeout | ||
6 | MHD_run | ||
7 | MHD_run_from_select | ||
8 | MHD_get_connection_values | ||
9 | MHD_set_connection_value | ||
10 | MHD_lookup_connection_value | ||
11 | MHD_queue_response | ||
12 | MHD_create_response_from_callback | ||
13 | MHD_create_response_from_data | ||
14 | MHD_create_response_from_fd | ||
15 | MHD_create_response_from_fd_at_offset | ||
16 | MHD_create_response_from_buffer | ||
17 | MHD_destroy_response | ||
18 | MHD_add_response_header | ||
19 | MHD_add_response_footer | ||
20 | MHD_del_response_header | ||
21 | MHD_get_response_headers | ||
22 | MHD_get_response_header | ||
23 | MHD_create_post_processor | ||
24 | MHD_post_process | ||
25 | MHD_quiesce_daemon | ||
26 | MHD_destroy_post_processor | ||
27 | MHD_get_daemon_info | ||
28 | MHD_get_connection_info | ||
29 | MHD_set_panic_func | ||
30 | MHD_get_version | ||
31 | MHD_digest_auth_get_username | ||
32 | MHD_digest_auth_check | ||
33 | MHD_queue_auth_fail_response | ||
34 | MHD_basic_auth_get_username_password | ||
35 | MHD_queue_basic_auth_fail_response | ||
36 | MHD_add_connection | ||
37 | MHD_set_connection_option | ||
38 | MHD_suspend_connection | ||
39 | MHD_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 | ||
11 | EXTRA_DIST = EXPORT.sym | ||
12 | |||
13 | lib_LTLIBRARIES = \ | 12 | lib_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 |
24 | libmicrohttpd_la_LDFLAGS = \ | 23 | libmicrohttpd_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 | ||
29 | if USE_COVERAGE | 27 | if 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 | ||
29 | HIDDEN_SYMBOL | ||
30 | char * | 29 | char * |
31 | BASE64Decode(const char* src) | 30 | BASE64Decode(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 | ||
14 | HIDDEN_SYMBOL | ||
15 | char * | 14 | char * |
16 | BASE64Decode(const char* src); | 15 | BASE64Decode(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 | */ |
260 | void HIDDEN_SYMBOL | 260 | void |
261 | MHD_connection_close (struct MHD_Connection *connection, | 261 | MHD_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 | */ |
1930 | HIDDEN_SYMBOL | ||
1931 | int | 1930 | int |
1932 | MHD_connection_handle_read (struct MHD_Connection *connection) | 1931 | MHD_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 | */ |
1994 | HIDDEN_SYMBOL | ||
1995 | int | 1993 | int |
1996 | MHD_connection_handle_write (struct MHD_Connection *connection) | 1994 | MHD_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 | */ |
2198 | HIDDEN_SYMBOL | ||
2199 | int | 2196 | int |
2200 | MHD_connection_handle_idle (struct MHD_Connection *connection) | 2197 | MHD_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 | */ |
2636 | HIDDEN_SYMBOL | ||
2637 | int | 2633 | int |
2638 | MHD_connection_epoll_update_ (struct MHD_Connection *connection) | 2634 | MHD_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 | */ |
2684 | HIDDEN_SYMBOL | ||
2685 | void | 2680 | void |
2686 | MHD_set_http_callbacks_ (struct MHD_Connection *connection) | 2681 | MHD_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 | */ |
91 | void HIDDEN_SYMBOL | 91 | void |
92 | MHD_connection_close (struct MHD_Connection *connection, | 92 | MHD_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 | */ |
173 | HIDDEN_SYMBOL | ||
174 | void | 173 | void |
175 | MHD_set_https_callbacks (struct MHD_Connection *connection) | 174 | MHD_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 | */ |
124 | HIDDEN_SYMBOL | ||
125 | MHD_PanicCallback mhd_panic; | 124 | MHD_PanicCallback mhd_panic; |
126 | 125 | ||
127 | /** | 126 | /** |
128 | * Closure argument for "mhd_panic". | 127 | * Closure argument for "mhd_panic". |
129 | */ | 128 | */ |
130 | HIDDEN_SYMBOL | ||
131 | void *mhd_panic_cls; | 129 | void *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 | */ |
4161 | void ATTRIBUTE_CONSTRUCTOR | 4159 | FUNC_CONSTRUCTOR (MHD_init) () |
4162 | MHD_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 | ||
4180 | void ATTRIBUTE_DESTRUCTOR | 4177 | FUNC_DESTRUCTOR (MHD_fini) () |
4181 | MHD_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 | */ |
34 | HIDDEN_SYMBOL | ||
35 | const char * | 34 | const char * |
36 | MHD_state_to_string (enum MHD_CONNECTION_STATE state) | 35 | MHD_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 | */ |
94 | void HIDDEN_SYMBOL | 93 | void |
95 | MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...) | 94 | MHD_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 | */ |
119 | HIDDEN_SYMBOL | ||
120 | size_t | 118 | size_t |
121 | MHD_http_unescape (void *cls, | 119 | MHD_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 | ||
170 | HIDDEN_SYMBOL | ||
171 | time_t | 168 | time_t |
172 | MHD_monotonic_time (void) | 169 | MHD_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 | */ |
192 | void HIDDEN_SYMBOL | 192 | void |
193 | MHD_DLOG (const struct MHD_Daemon *daemon, | 193 | MHD_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 | */ |
153 | void HIDDEN_SYMBOL | 153 | void |
154 | MD5Init(struct MD5Context *ctx) | 154 | MD5Init(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 | */ |
169 | void HIDDEN_SYMBOL | 169 | void |
170 | MD5Update(struct MD5Context *ctx, | 170 | MD5Update(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 | */ |
221 | void HIDDEN_SYMBOL | 221 | void |
222 | MD5Final (unsigned char digest[16], | 222 | MD5Final (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 | ||
40 | void HIDDEN_SYMBOL | 40 | void |
41 | MD5Init(struct MD5Context *ctx); | 41 | MD5Init(struct MD5Context *ctx); |
42 | 42 | ||
43 | void HIDDEN_SYMBOL | 43 | void |
44 | MD5Update(struct MD5Context *ctx, | 44 | MD5Update(struct MD5Context *ctx, |
45 | const void *buf, | 45 | const void *buf, |
46 | unsigned len); | 46 | unsigned len); |
47 | 47 | ||
48 | void HIDDEN_SYMBOL | 48 | void |
49 | MD5Final(unsigned char digest[MD5_DIGEST_SIZE], | 49 | MD5Final(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 | */ |
86 | HIDDEN_SYMBOL | ||
87 | struct MemoryPool * | 86 | struct MemoryPool * |
88 | MHD_pool_create (size_t max) | 87 | MHD_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 | */ |
130 | void HIDDEN_SYMBOL | 129 | void |
131 | MHD_pool_destroy (struct MemoryPool *pool) | 130 | MHD_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 | */ |
154 | HIDDEN_SYMBOL | ||
155 | void * | 153 | void * |
156 | MHD_pool_allocate (struct MemoryPool *pool, | 154 | MHD_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 | */ |
198 | HIDDEN_SYMBOL | ||
199 | void * | 196 | void * |
200 | MHD_pool_reallocate (struct MemoryPool *pool, | 197 | MHD_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 | */ |
253 | HIDDEN_SYMBOL | ||
254 | void * | 250 | void * |
255 | MHD_pool_reset (struct MemoryPool *pool, | 251 | MHD_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 | */ |
47 | HIDDEN_SYMBOL | ||
48 | struct MemoryPool * | 47 | struct MemoryPool * |
49 | MHD_pool_create (size_t max); | 48 | MHD_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 | */ |
57 | void HIDDEN_SYMBOL | 56 | void |
58 | MHD_pool_destroy (struct MemoryPool *pool); | 57 | MHD_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 | */ |
72 | HIDDEN_SYMBOL | ||
73 | void * | 71 | void * |
74 | MHD_pool_allocate (struct MemoryPool *pool, | 72 | MHD_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 | */ |
95 | HIDDEN_SYMBOL | ||
96 | void * | 93 | void * |
97 | MHD_pool_reallocate (struct MemoryPool *pool, | 94 | MHD_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 | */ |
112 | HIDDEN_SYMBOL | ||
113 | void * | 109 | void * |
114 | MHD_pool_reset (struct MemoryPool *pool, | 110 | MHD_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 | ||
152 | HIDDEN_SYMBOL | ||
153 | const char * | 152 | const char * |
154 | MHD_get_reason_phrase_for (unsigned int code) | 153 | MHD_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 | ||
472 | void HIDDEN_SYMBOL | 472 | void |
473 | MHD_increment_response_rc (struct MHD_Response *response) | 473 | MHD_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 | */ |
34 | void HIDDEN_SYMBOL | 34 | void |
35 | MHD_increment_response_rc (struct MHD_Response *response); | 35 | MHD_increment_response_rc (struct MHD_Response *response); |
36 | 36 | ||
37 | 37 | ||