]> git.ozlabs.org Git - ccan/blobdiff - ccan/typesafe_cb/test/compile_fail-typesafe_cb-int.c
base64: fix for unsigned chars (e.g. ARM).
[ccan] / ccan / typesafe_cb / test / compile_fail-typesafe_cb-int.c
index c4033364d41c91bf565bfc52d71b22ab3434cc21..c9d47c50b17f38f4f534057a7091c677cc4cf2dd 100644 (file)
@@ -15,9 +15,10 @@ void _callback(void (*fn)(void *arg), void *arg)
 void my_callback(int something);
 void my_callback(int something)
 {
+       (void)something;
 }
 
-int main(int argc, char *argv[])
+int main(void)
 {
 #ifdef FAIL
        /* This fails due to arg, not due to cast. */