aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/microhttpd.h1
-rw-r--r--src/microhttpd/response.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index b97652c9..2dd6b9f2 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -2005,6 +2005,7 @@ MHD_create_response_from_callback (uint64_t size,
2005 * @deprecated use #MHD_create_response_from_buffer instead 2005 * @deprecated use #MHD_create_response_from_buffer instead
2006 * @ingroup response 2006 * @ingroup response
2007 */ 2007 */
2008_MHD_DEPR_FUNC("MHD_create_response_from_data() is deprecated, use MHD_create_response_from_buffer()") \
2008_MHD_EXTERN struct MHD_Response * 2009_MHD_EXTERN struct MHD_Response *
2009MHD_create_response_from_data (size_t size, 2010MHD_create_response_from_data (size_t size,
2010 void *data, 2011 void *data,
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 47a439e4..cdc01a94 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -24,6 +24,8 @@
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
26 26
27#define MHD_NO_DEPRECATION 1
28
27#include "internal.h" 29#include "internal.h"
28#include "response.h" 30#include "response.h"
29 31