libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 76b5b1952cf64a6560c82cfdd951829b6b2be83d
parent d39ad79ab65647cbee62c6dc7c0971e61b9ff082
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Tue, 19 Jul 2022 17:48:56 +0300

microhttpd.h: formatted some deprecation warnings

Diffstat:
Msrc/include/microhttpd.h | 32++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -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