[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/02: microhttpd.h: fixed deprecation messages
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/02: microhttpd.h: fixed deprecation messages |
Date: |
Sun, 28 Apr 2024 21:04:50 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 5bd638aee20a542f9d388fa984fea31fb0cec750
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Apr 28 21:03:12 2024 +0200
microhttpd.h: fixed deprecation messages
---
src/include/microhttpd.h | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 12b872fc..fa837221 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -3966,8 +3966,9 @@ MHD_create_response_from_callback (uint64_t size,
* @deprecated use #MHD_create_response_from_buffer instead
* @ingroup response
*/
-_MHD_DEPR_FUNC ("MHD_create_response_from_data() is deprecated, " \
- "use MHD_create_response_from_buffer()") \
+_MHD_DEPR_FUNC ( \
+ "MHD_create_response_from_data() is deprecated, use
MHD_create_response_from_buffer()" \
+ ) \
_MHD_EXTERN struct MHD_Response *
MHD_create_response_from_data (size_t size,
void *data,
@@ -4240,8 +4241,9 @@ MHD_create_response_from_fd64 (uint64_t size,
* @return NULL on error (i.e. invalid arguments, out of memory)
* @ingroup response
*/
-_MHD_DEPR_FUNC ("Function MHD_create_response_from_fd_at_offset() is " \
- "deprecated, use MHD_create_response_from_fd_at_offset64()") \
+_MHD_DEPR_FUNC ( \
+ "Function MHD_create_response_from_fd_at_offset() is deprecated, use
MHD_create_response_from_fd_at_offset64()" \
+ ) \
_MHD_EXTERN struct MHD_Response *
MHD_create_response_from_fd_at_offset (size_t size,
int fd,
@@ -6505,8 +6507,7 @@ enum MHD_FEATURE
};
#define MHD_FEATURE_HTTPS_COOKIE_PARSING _MHD_DEPR_IN_MACRO ( \
- "Value MHD_FEATURE_HTTPS_COOKIE_PARSING is deprecated, " \
- "use MHD_FEATURE_COOKIE_PARSING" \
+ "Value MHD_FEATURE_HTTPS_COOKIE_PARSING is deprecated, use
MHD_FEATURE_COOKIE_PARSING" \
) MHD_FEATURE_COOKIE_PARSING
/**
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.