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 /xedit.h | |
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 'xedit.h')
-rw-r--r-- | xedit.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -122,9 +122,9 @@ void XeditPrintf(const char *format, ...); Widget MakeCommandButton(Widget, char*, XtCallbackProc); Widget MakeStringBox(Widget, String, String); String GetString(Widget); -FileAccess MaybeCreateFile(char*), CheckFilePermissions(char*, Boolean*); -xedit_flist_item *AddTextSource(Widget, String, String, int, FileAccess); -xedit_flist_item *FindTextSource(Widget, char*); +FileAccess MaybeCreateFile(const char*), CheckFilePermissions(const char*, Boolean*); +xedit_flist_item *AddTextSource(Widget, const char *, const char *, int, FileAccess); +xedit_flist_item *FindTextSource(Widget, const char*); Bool KillTextSource(xedit_flist_item*); char *ResolveName(char*); void DeleteWindow(Widget, XEvent*, String*, Cardinal*); |