projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b0bdc2
)
compiler: fix -Wwrite-strings warning in example.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 22 Mar 2011 02:12:43 +0000
(12:42 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 22 Mar 2011 02:12:43 +0000
(12:42 +1030)
ccan/compiler/compiler.h
patch
|
blob
|
history
diff --git
a/ccan/compiler/compiler.h
b/ccan/compiler/compiler.h
index 1e0d8efbaacc1be66aa291f861560a513b69887a..aa7323f5ff9cbc6805620e7aa4bce0383276508d 100644
(file)
--- 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 c
onst c
har *_greek_name(enum greek greek)
* {
* switch (greek) {
* case ALPHA: return "alpha";