From 7ce5cb9dbdff5aef2a0218539adc6e2e49c659cb Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 22 Mar 2011 12:42:43 +1030 Subject: [PATCH] compiler: fix -Wwrite-strings warning in example. --- ccan/compiler/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccan/compiler/compiler.h b/ccan/compiler/compiler.h index 1e0d8efb..aa7323f5 100644 --- a/ccan/compiler/compiler.h +++ b/ccan/compiler/compiler.h @@ -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"; -- 2.39.2