From 1c116801200b0cafac4f16f7f9ccecf69a23c1aa Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 18 Apr 2022 09:49:30 +0300 Subject: Added _MHD_EXTERN to the all public functions definitions Previously it was inconsistent, some function definitions used _MHD_EXTERN, while other definitions was used without _MHD_EXTERN. --- src/microhttpd/reason_phrase.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/microhttpd/reason_phrase.c') diff --git a/src/microhttpd/reason_phrase.c b/src/microhttpd/reason_phrase.c index 9a07b2ad..5ccc44b4 100644 --- a/src/microhttpd/reason_phrase.c +++ b/src/microhttpd/reason_phrase.c @@ -174,7 +174,7 @@ static const struct MHD_Reason_Block reasons[] = { }; -const char * +_MHD_EXTERN const char * MHD_get_reason_phrase_for (unsigned int code) { if ( (code >= 100) && @@ -185,7 +185,7 @@ MHD_get_reason_phrase_for (unsigned int code) } -size_t +_MHD_EXTERN size_t MHD_get_reason_phrase_len_for (unsigned int code) { if ( (code >= 100) && -- cgit v1.2.3