mirror of
https://github.com/systemd/systemd
synced 2024-07-22 02:34:54 +00:00
journal-remote: code is of type enum MHD_RequestTerminationCode
Fixes gcc 13 -Wenum-int-mismatch which are enabled by default.
This commit is contained in:
parent
7f77b40011
commit
aa70dd624b
|
@ -64,11 +64,11 @@ void microhttpd_logger(void *arg, const char *fmt, va_list ap) _printf_(2, 0);
|
|||
|
||||
int mhd_respondf(struct MHD_Connection *connection,
|
||||
int error,
|
||||
unsigned code,
|
||||
enum MHD_RequestTerminationCode code,
|
||||
const char *format, ...) _printf_(4,5);
|
||||
|
||||
int mhd_respond(struct MHD_Connection *connection,
|
||||
unsigned code,
|
||||
enum MHD_RequestTerminationCode code,
|
||||
const char *message);
|
||||
|
||||
int mhd_respond_oom(struct MHD_Connection *connection);
|
||||
|
|
Loading…
Reference in a new issue