summaryrefslogtreecommitdiff
path: root/xedit.h
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 /xedit.h
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 'xedit.h')
-rw-r--r--xedit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xedit.h b/xedit.h
index 4a9a468..7166798 100644
--- a/xedit.h
+++ b/xedit.h
@@ -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*);