]> git.meshlink.io Git - meshlink/blobdiff - test/channels-udp.c
Fix more compiler warnings.
[meshlink] / test / channels-udp.c
index 8071d467f6a5ca8d3bbf82858b59a4d6eecd5b8d..4e628c017fb77efbd31b2a0d243d46a47a396d65 100644 (file)
@@ -100,7 +100,7 @@ static bool accept_cb(meshlink_handle_t *mesh, meshlink_channel_t *channel, uint
        return false;
 }
 
-int main() {
+int main(void) {
        meshlink_set_log_cb(NULL, MESHLINK_WARNING, log_cb);
 
        // Open four new meshlink instance, the server and three peers.