gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 01/05: microhttpd.h: fixed deprecation messages


From: gnunet
Subject: [libmicrohttpd] 01/05: microhttpd.h: fixed deprecation messages
Date: Tue, 26 Sep 2023 15:46:54 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 7a638aed1ba061285d57643eee5e4efa629d1449
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Sep 24 15:16:59 2023 +0300

    microhttpd.h: fixed deprecation messages
---
 src/include/microhttpd.h | 56 +++++++++++++++++++++---------------------------
 1 file changed, 24 insertions(+), 32 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index c850d849..b6f6fddc 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -480,52 +480,44 @@ _MHD_DEPR_MACRO ( \
 
 /* Deprecated names and codes */
 /** @deprecated */
-#define MHD_HTTP_METHOD_NOT_ACCEPTABLE \
-  _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_METHOD_NOT_ACCEPTABLE is deprecated, " \
-                      "use MHD_HTTP_NOT_ACCEPTABLE") \
-  406
+#define MHD_HTTP_METHOD_NOT_ACCEPTABLE _MHD_DEPR_IN_MACRO (\
+ "Value MHD_HTTP_METHOD_NOT_ACCEPTABLE is deprecated, use 
MHD_HTTP_NOT_ACCEPTABLE" \
+ ) 406
 
 /** @deprecated */
-#define MHD_HTTP_REQUEST_ENTITY_TOO_LARGE \
-  _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_REQUEST_ENTITY_TOO_LARGE is deprecated, 
" \
-                      "use MHD_HTTP_CONTENT_TOO_LARGE") \
-  413
+#define MHD_HTTP_REQUEST_ENTITY_TOO_LARGE _MHD_DEPR_IN_MACRO (\
+ "Value MHD_HTTP_REQUEST_ENTITY_TOO_LARGE is deprecated, use 
MHD_HTTP_CONTENT_TOO_LARGE"\
+ ) 413
 
 /** @deprecated */
-#define MHD_HTTP_PAYLOAD_TOO_LARGE \
-  _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated, " \
-                      "use MHD_HTTP_CONTENT_TOO_LARGE") \
-  413
+#define MHD_HTTP_PAYLOAD_TOO_LARGE _MHD_DEPR_IN_MACRO (\
+  "Value MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated use 
MHD_HTTP_CONTENT_TOO_LARGE" \
+  ) 413
 
 /** @deprecated */
-#define MHD_HTTP_REQUEST_URI_TOO_LONG \
-  _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_REQUEST_URI_TOO_LONG is deprecated, " \
-                      "use MHD_HTTP_URI_TOO_LONG") \
-  414
+#define MHD_HTTP_REQUEST_URI_TOO_LONG _MHD_DEPR_IN_MACRO (\
+  "Value MHD_HTTP_REQUEST_URI_TOO_LONG is deprecated, use 
MHD_HTTP_URI_TOO_LONG" \
+  ) 414
 
 /** @deprecated */
-#define MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE \
-  _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE is " \
-                      "deprecated, use MHD_HTTP_RANGE_NOT_SATISFIABLE") \
-  416
+#define MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE _MHD_DEPR_IN_MACRO (\
+ "Value MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE is deprecated, use 
MHD_HTTP_RANGE_NOT_SATISFIABLE" \
+ ) 416
 
 /** @deprecated */
-#define MHD_HTTP_UNPROCESSABLE_ENTITY \
-  _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_UNPROCESSABLE_ENTITY is deprecated, " \
-                      "use MHD_HTTP_UNPROCESSABLE_CONTENT") \
-  422
+#define MHD_HTTP_UNPROCESSABLE_ENTITY _MHD_DEPR_IN_MACRO (\
+ "Value MHD_HTTP_UNPROCESSABLE_ENTITY is deprecated, use 
MHD_HTTP_UNPROCESSABLE_CONTENT" \
+ ) 422
 
 /** @deprecated */
-#define MHD_HTTP_UNORDERED_COLLECTION \
-  _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_UNORDERED_COLLECTION is deprecated " \
-                      "as it was removed from RFC") \
-  425
+#define MHD_HTTP_UNORDERED_COLLECTION _MHD_DEPR_IN_MACRO (\
+  "Value MHD_HTTP_UNORDERED_COLLECTION is deprecated as it was removed from 
RFC" \
+  ) 425
 
 /** @deprecated */
-#define MHD_HTTP_NO_RESPONSE \
-  _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_NO_RESPONSE is deprecated as " \
-                      "it is nginx internal code for logs only") \
-  444
+#define MHD_HTTP_NO_RESPONSE _MHD_DEPR_IN_MACRO (\
+ "Value MHD_HTTP_NO_RESPONSE is deprecated as it is nginx internal code for 
logs only"\
+ ) 444
 
 
 /** @} */ /* end of group httpcode */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]