Explorar el Código

microhttpd.h: fixed declaration of MHD_get_reason_phrase_for()

Evgeny Grin (Karlson2k) hace 10 años
padre
commit
bca0b80070
Se han modificado 2 ficheros con 5 adiciones y 2 borrados
  1. 3 0
      ChangeLog
  2. 2 2
      src/include/microhttpd.h

+ 3 - 0
ChangeLog

@@ -1,3 +1,6 @@
+Tue Jan 12 16:10:09 CET 2016
+	Fixed declaraion of MHD_get_reason_phrase_for(). -EG
+
 Mon Jan 11 19:58:50 CET 2016
 	Configure.ac small fixes and refactoring. -EG
 

+ 2 - 2
src/include/microhttpd.h

@@ -130,7 +130,7 @@ typedef intptr_t ssize_t;
  * Current version of the library.
  * 0x01093001 = 1.9.30-1.
  */
-#define MHD_VERSION 0x00094800
+#define MHD_VERSION 0x00094801
 
 /**
  * MHD-internal return code for "YES".
@@ -366,7 +366,7 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is deprecated, use MHD_UNSIGNED_LONG
  * If we don't have a string for a status code, we give the first
  * message in that status code class.
  */
-const char *
+_MHD_EXTERN const char *
 MHD_get_reason_phrase_for (unsigned int code);