aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/reason_phrase.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-04-18 09:49:30 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-04-18 11:18:03 +0300
commit1c116801200b0cafac4f16f7f9ccecf69a23c1aa (patch)
tree70cc66b2bd8be41598ca9d9e4bd771b57dd6e797 /src/microhttpd/reason_phrase.c
parent4ff1024763a306200de3fd1e5581377aca9047e1 (diff)
downloadlibmicrohttpd-1c116801200b0cafac4f16f7f9ccecf69a23c1aa.tar.gz
libmicrohttpd-1c116801200b0cafac4f16f7f9ccecf69a23c1aa.zip
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.
Diffstat (limited to 'src/microhttpd/reason_phrase.c')
-rw-r--r--src/microhttpd/reason_phrase.c4
1 files changed, 2 insertions, 2 deletions
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[] = {
174}; 174};
175 175
176 176
177const char * 177_MHD_EXTERN const char *
178MHD_get_reason_phrase_for (unsigned int code) 178MHD_get_reason_phrase_for (unsigned int code)
179{ 179{
180 if ( (code >= 100) && 180 if ( (code >= 100) &&
@@ -185,7 +185,7 @@ MHD_get_reason_phrase_for (unsigned int code)
185} 185}
186 186
187 187
188size_t 188_MHD_EXTERN size_t
189MHD_get_reason_phrase_len_for (unsigned int code) 189MHD_get_reason_phrase_len_for (unsigned int code)
190{ 190{
191 if ( (code >= 100) && 191 if ( (code >= 100) &&