]> git.ozlabs.org Git - ccan/blobdiff - ccan/typesafe_cb/test/compile_ok-typesafe_cb-undefined.c
typesafe_cb: handle pointers to undefined struct types.
[ccan] / ccan / typesafe_cb / test / compile_ok-typesafe_cb-undefined.c
index d4ae4ca34964c32345761e07f1861ffe520bee7e..62867e7e982e98822ed1cc424a7e36c810b55b32 100644 (file)
@@ -30,11 +30,11 @@ static void my_callback(const struct undefined *undef)
 {
 }
 
-static void my_callback_pre(int x, const struct undefined *undef)
+static void my_callback_pre(int x, struct undefined *undef)
 {
 }
 
-static void my_callback_post(const struct undefined *undef, int x)
+static void my_callback_post(struct undefined *undef, int x)
 {
 }