Commit 7ce5cb9d authored by Rusty Russell's avatar Rusty Russell

compiler: fix -Wwrite-strings warning in example.

parent 5b0bdc23
......@@ -148,7 +148,7 @@
* const char *greek_name(enum greek greek);
*
* // Inline version.
* static inline char *_greek_name(enum greek greek)
* static inline const char *_greek_name(enum greek greek)
* {
* switch (greek) {
* case ALPHA: return "alpha";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment