Merge pull request #1509 from jameshilliard/wakeup-conflict

Fix mg_mgr_wakeup conflicting types error
This commit is contained in:
Sergey Lyubka 2022-04-04 09:16:34 +01:00 committed by GitHub
commit 417533e90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,