X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_ok-typesafe_cb-const.c;h=5017928a39e70aebd476e74e7dac0b45323bde6d;hp=f8d0ae0f60a6f7466326cf24042b3db639e9fb2a;hb=67a035869c6f3512ba943ae197b407f182a4506d;hpb=85a33135890965218010b79c89e4d3f4905727e3 diff --git a/ccan/typesafe_cb/test/compile_ok-typesafe_cb-const.c b/ccan/typesafe_cb/test/compile_ok-typesafe_cb-const.c index f8d0ae0f..5017928a 100644 --- a/ccan/typesafe_cb/test/compile_ok-typesafe_cb-const.c +++ b/ccan/typesafe_cb/test/compile_ok-typesafe_cb-const.c @@ -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) { }