lib/ccan/str: fix warnings.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:46 +0000 (16:42 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:46 +0000 (16:42 +1030)
commit00b226bfe48faba2ab8c74cae5eeff564969d03a
tree411071e79454153719e05340cb727202ee06e706
parented349eabd99e76d42ce5e42b914dd50afc643afd
lib/ccan/str: fix warnings.

Firstly, -Wwrite-strings makes string literals const, secondly, we mustn't
define str_strstr etc in terms of themselves!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 0845e79650c9257aa0ddef8ff99fd815b5edffac)
lib/ccan/str/debug.c
lib/ccan/str/test/run.c