]> git.ozlabs.org Git - ccan/commit - ccan/str/debug.c
str: fix warnings.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 26 Sep 2011 10:43:07 +0000 (20:13 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 26 Sep 2011 10:43:07 +0000 (20:13 +0930)
commit0845e79650c9257aa0ddef8ff99fd815b5edffac
tree72123c96eab9104bf96702e902cc746249eb0021
parent942f2788e165bb203b0f160f29bd4592f32dc344
str: fix warnings.

Firstly, -Wwrite-strings makes string literals const, secondly, we mustn't
define str_strstr etc in terms of themselves!
ccan/str/debug.c
ccan/str/test/run.c