diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-09-09 20:05:27 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-09-09 20:05:27 -0700 |
commit | 9f0f4a2c5495eec2d81a4381fb962fad93b2ddde (patch) | |
tree | 7608fb1bc62b2df1c8bcb4f549a35607a37e905b /commands.c | |
parent | 40615f52b8fe7478599ce4948ccc751aa0a34397 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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", |