summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_mhd.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-09 00:59:55 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-09 00:59:55 +0200
commit543fe4ae36649cf64eabb1b1447539bfb0c3c7c2 (patch)
tree81e9bf344e28225ccf425311519738c7fe3b0300 /src/exchange/taler-exchange-httpd_mhd.h
parent84a40be0bce66cda800de7891f758a0c69afc7fa (diff)
downloadexchange-543fe4ae36649cf64eabb1b1447539bfb0c3c7c2.tar.gz
exchange-543fe4ae36649cf64eabb1b1447539bfb0c3c7c2.tar.bz2
exchange-543fe4ae36649cf64eabb1b1447539bfb0c3c7c2.zip
make code compiler without warnings with latest libmicrohttpd API
Diffstat (limited to 'src/exchange/taler-exchange-httpd_mhd.h')
-rw-r--r--src/exchange/taler-exchange-httpd_mhd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_mhd.h b/src/exchange/taler-exchange-httpd_mhd.h
index 1605032a1..7547780df 100644
--- a/src/exchange/taler-exchange-httpd_mhd.h
+++ b/src/exchange/taler-exchange-httpd_mhd.h
@@ -37,7 +37,7 @@
* @param args array of additional options (must be empty for this function)
* @return MHD result code
*/
-int
+MHD_RESULT
TEH_handler_static_response (const struct TEH_RequestHandler *rh,
struct MHD_Connection *connection,
const char *const args[]);
@@ -52,7 +52,7 @@ TEH_handler_static_response (const struct TEH_RequestHandler *rh,
* @param args array of additional options (must be empty for this function)
* @return MHD result code
*/
-int
+MHD_RESULT
TEH_handler_agpl_redirect (const struct TEH_RequestHandler *rh,
struct MHD_Connection *connection,
const char *const args[]);