summaryrefslogtreecommitdiffstats
path: root/src/journal-remote/journal-gatewayd.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-06-30 09:56:10 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-07-01 06:10:48 +0200
commitd17eabb1052e7c8c432331a7a782845e36164f01 (patch)
treef28be69fb4d674b2e4b1e1581d899f09e2898dd8 /src/journal-remote/journal-gatewayd.c
parentMerge pull request #16316 from yuwata/backlight-use-actual-brightness (diff)
downloadsystemd-d17eabb1052e7c8c432331a7a782845e36164f01.tar.xz
systemd-d17eabb1052e7c8c432331a7a782845e36164f01.zip
Fix build with µhttpd 0.9.71
The return type of callbacks was changed from int to an enum.
Diffstat (limited to 'src/journal-remote/journal-gatewayd.c')
-rw-r--r--src/journal-remote/journal-gatewayd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c
index 5177e0d157..3ab7c98b0b 100644
--- a/src/journal-remote/journal-gatewayd.c
+++ b/src/journal-remote/journal-gatewayd.c
@@ -349,7 +349,7 @@ static int request_parse_range(
return 0;
}
-static int request_parse_arguments_iterator(
+static mhd_result request_parse_arguments_iterator(
void *cls,
enum MHD_ValueKind kind,
const char *key,
@@ -796,7 +796,7 @@ static int request_handler_machine(
return MHD_queue_response(connection, MHD_HTTP_OK, response);
}
-static int request_handler(
+static mhd_result request_handler(
void *cls,
struct MHD_Connection *connection,
const char *url,