diff options
author | LRN <lrn1986@gmail.com> | 2014-01-27 06:59:02 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2014-01-27 06:59:02 +0000 |
commit | 0d8aeae6df35a54ec2e612eb944663880758b857 (patch) | |
tree | a6f275e91f3ebad21cfd733533ebf15dc891b12c /src/microhttpd/reason_phrase.c | |
parent | 34644b55bb6b4285b6341fbe9e375498c4e7cb41 (diff) | |
download | libmicrohttpd-0d8aeae6df35a54ec2e612eb944663880758b857.tar.gz libmicrohttpd-0d8aeae6df35a54ec2e612eb944663880758b857.zip |
Add decl check for _stati64 (required for newer plibc)
Remove redundant -no-undefined (it's part of mandatory MHD_LIB_LDFLAGS
now)
Remove --export-all-symbols for W32 (visibility is used instead)
Add -fvisibility=hidden configure check (shamelessly borrowed from GTK)
Remove unused -export-symbols-regex check
Define _MHD_EXTERN to "extern" if it's undefined (this is what clients
get)
Mark all public functions with _MHD_EXTERN
Remove HIDDEN_SYMBOL definition
Don't mark hidden functions with HIDDEN_SYMBOL (everything that is not
explicitly public is hidden by default now)
Change constructor macros a bit to apply _MHD_EXTERN to them cleanly
Use HIDDEN_VISIBILITY_CFLAGS when compiling libraries
Remove EXPORT.sym files, don't mention them in EXTRA_DIST, don't use
them to define a list of exported functions
Remove redundant -no-undefined, make sure only the one that gets into
Makefiles directly remains, remove -Wl prefix from it
Diffstat (limited to 'src/microhttpd/reason_phrase.c')
-rw-r--r-- | src/microhttpd/reason_phrase.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 | { |