]> git.ozlabs.org Git - ccan/commitdiff
compiler: fix -Wwrite-strings warning in example.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 02:12:43 +0000 (12:42 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 02:12:43 +0000 (12:42 +1030)
ccan/compiler/compiler.h

index 1e0d8efbaacc1be66aa291f861560a513b69887a..aa7323f5ff9cbc6805620e7aa4bce0383276508d 100644 (file)
  *     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";