diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-30 20:19:44 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-30 20:19:44 -0700 |
commit | af2cc5bc2e13a61e6ab3d495d3edb34d94a42964 (patch) | |
tree | f3cf6b505190ac41b4c683ef74e1b9e6ff5e8c6c /common.c | |
parent | 7fbf2ff3c925a0cc55024bc8350ad9e9bf8d1e47 (diff) | |
download | xscope-af2cc5bc2e13a61e6ab3d495d3edb34d94a42964.tar.gz |
Add const attributes to clear gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -58,19 +58,19 @@ /* ********************************************** */ void -enterprocedure (char *s) +enterprocedure (const char *s) { debug(2,(stderr, "-> %s\n", s)); } void -warn (char *s) +warn (const char *s) { fprintf(stderr, "####### %s\n", s); } void -panic (char *s) +panic (const char *s) { fprintf(stderr, "%s\n", s); exit(1); |