summaryrefslogtreecommitdiff
path: root/src/sync/sync-httpd_mhd.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-09 01:18:58 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-09 01:18:58 +0200
commit74d8a182f42a23ab22c53d5148413c246b76b8dd (patch)
tree3a1a04a67cb19b9fb8644c9d7e492c0da2629f68 /src/sync/sync-httpd_mhd.h
parent3e606246a518b8e7049d94e499df5e7ce13b37e9 (diff)
downloadsync-74d8a182f42a23ab22c53d5148413c246b76b8dd.tar.gz
sync-74d8a182f42a23ab22c53d5148413c246b76b8dd.tar.bz2
sync-74d8a182f42a23ab22c53d5148413c246b76b8dd.zip
make code compile without warnings against latest libmicrohttpd API
Diffstat (limited to 'src/sync/sync-httpd_mhd.h')
-rw-r--r--src/sync/sync-httpd_mhd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sync/sync-httpd_mhd.h b/src/sync/sync-httpd_mhd.h
index 40efd2e..5a7a9b2 100644
--- a/src/sync/sync-httpd_mhd.h
+++ b/src/sync/sync-httpd_mhd.h
@@ -40,7 +40,7 @@
* @param mi merchant backend instance, NULL is allowed in this case!
* @return MHD result code
*/
-int
+MHD_RESULT
SH_MHD_handler_static_response (struct SH_RequestHandler *rh,
struct MHD_Connection *connection,
void **connection_cls,
@@ -60,7 +60,7 @@ SH_MHD_handler_static_response (struct SH_RequestHandler *rh,
* @param mi merchant backend instance, never NULL
* @return MHD result code
*/
-int
+MHD_RESULT
SH_MHD_handler_agpl_redirect (struct SH_RequestHandler *rh,
struct MHD_Connection *connection,
void **connection_cls,