mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
microhttpd.h: formatted some deprecation warnings
This commit is contained in:
+16
-16
@@ -493,50 +493,50 @@ _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") \
|
||||
_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") \
|
||||
_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") \
|
||||
_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") \
|
||||
_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") \
|
||||
_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") \
|
||||
_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") \
|
||||
_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") \
|
||||
_MHD_DEPR_IN_MACRO ("Value MHD_HTTP_NO_RESPONSE is deprecated as " \
|
||||
"it is nginx internal code for logs only") \
|
||||
444
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user