]> git.ozlabs.org Git - ccan/blobdiff - ccan/typesafe_cb/test/compile_ok-typesafe_cb-const.c
typesafe_cb: handle pointers to undefined struct types.
[ccan] / ccan / typesafe_cb / test / compile_ok-typesafe_cb-const.c
index f8d0ae0f60a6f7466326cf24042b3db639e9fb2a..5017928a39e70aebd476e74e7dac0b45323bde6d 100644 (file)
@@ -28,11 +28,11 @@ static void my_callback(const char *p)
 {
 }
 
-static void my_callback_pre(int x, const char *p)
+static void my_callback_pre(int x, /*const*/ char *p)
 {
 }
 
-static void my_callback_post(const char *p, int x)
+static void my_callback_post(/*const*/ char *p, int x)
 {
 }