]> git.ozlabs.org Git - ccan/blobdiff - ccan/typesafe_cb/test/compile_ok-typesafe_cb-vars.c
Remove unused main() args in many modules.
[ccan] / ccan / typesafe_cb / test / compile_ok-typesafe_cb-vars.c
index f6a2bfecbc235162bf59c8641f5162e1b174f125..9537a3ea519b7e50cedce554aed32673953f7920 100644 (file)
@@ -38,7 +38,7 @@ static void my_callback_post(struct undefined *undef, int x)
 {
 }
 
-int main(int argc, char *argv[])
+int main(void)
 {
        struct undefined *handle = NULL;
        void (*cb)(struct undefined *undef) = my_callback;