summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-09-09 20:05:27 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-09-09 20:05:27 -0700
commit9f0f4a2c5495eec2d81a4381fb962fad93b2ddde (patch)
tree7608fb1bc62b2df1c8bcb4f549a35607a37e905b /commands.c
parent40615f52b8fe7478599ce4948ccc751aa0a34397 (diff)
Copious const cleanup
Removes 1554 gcc warnings of "discards ‘const’ qualifier" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index 2af7ec4..e64fe30 100644
--- a/commands.c
+++ b/commands.c
@@ -187,7 +187,7 @@ DoSave(Widget w, XtPointer client_data, XtPointer call_data)
Widget source = XawTextGetSource(textwindow);
char buffer[BUFSIZ];
struct stat st;
- static char *nothing_saved = " -- nothing saved.\n";
+ static const char *nothing_saved = " -- nothing saved.\n";
if (!filename) {
XmuSnprintf(buffer, sizeof(buffer), "%s%s",