]> git.ozlabs.org Git - ccan/commit
str: make sure STR_MAX_CHARS gives a constant expression.
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 7 Jan 2017 04:19:53 +0000 (14:49 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 7 Jan 2017 04:19:53 +0000 (14:49 +1030)
commit73c02ec46e9c7e175a61f25522c191cf7e04feb6
treee1dcf481d8644053c60c96fd1c3d280020b8a929
parent97ac5832db26f5f836fff979b08f01e17d7216bd
str: make sure STR_MAX_CHARS gives a constant expression.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/str/str.h
ccan/str/test/compile_ok-STR_MAX_CHARS-static.c [new file with mode: 0644]