From e268affb5a51d017a62d29a38f2256d78572d9eb Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sat, 2 Apr 2022 22:08:07 -0600 Subject: [PATCH] Fix mg_mgr_wakeup conflicting types error --- test/mongoose_custom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/mongoose_custom.c b/test/mongoose_custom.c index 99a117b6..b72e9ae8 100644 --- a/test/mongoose_custom.c +++ b/test/mongoose_custom.c @@ -23,8 +23,9 @@ bool mg_send(struct mg_connection *c, const void *buf, size_t len) { return 0; } -void mg_mgr_wakeup(struct mg_connection *c, const void *buf, size_t len) { +bool mg_mgr_wakeup(struct mg_connection *c, const void *buf, size_t len) { (void) c, (void) buf, (void) len; + return 0; } struct mg_connection *mg_mkpipe(struct mg_mgr *mgr, mg_event_handler_t fn,