]> git.meshlink.io Git - meshlink/blobdiff - test/utils.h
Fix all compiler warnings found using -Wall -W -pedantic.
[meshlink] / test / utils.h
index 9fb9b8d264459aac4f552e9129ee34e14552a364..27bb38c3fe9e20a8abae834c1d802d941daee2a2 100644 (file)
@@ -10,7 +10,7 @@ struct sync_flag {
        bool flag;
 };
 
-extern void set_sync_flag(struct sync_flag *s);
+extern void set_sync_flag(struct sync_flag *s, bool value);
 extern bool wait_sync_flag(struct sync_flag *s, int seconds);
 
 /// Create a pair of meshlink instances that are already joined together.