summaryrefslogtreecommitdiff
path: root/saveutil.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-19 11:29:03 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-19 11:29:07 -0800
commit24d38c420d5d60c988f07dd25f7fa81171dac64f (patch)
tree47d34022ccbff9515e85ed47cf34794c19454df2 /saveutil.h
parente17c2f59266528dce1cfb71798dc6075b74839a3 (diff)
Fix some gcc -Wwrite-strings warnings
Many are unfixable at the moment due to the libXt API Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'saveutil.h')
-rw-r--r--saveutil.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/saveutil.h b/saveutil.h
index 31af135..ccef344 100644
--- a/saveutil.h
+++ b/saveutil.h
@@ -30,10 +30,10 @@ in this Software without prior written authorization from The Open Group.
#include <stdio.h>
-extern void set_session_save_file_name(char *session_name);
-extern int ReadSave(char *session_name, char **sm_id);
-extern void WriteSave(char *sm_id);
-extern Status DeleteSession(char *session_name);
+extern void set_session_save_file_name(const char *session_name);
+extern int ReadSave(const char *session_name, char **sm_id);
+extern void WriteSave(const char *sm_id);
+extern Status DeleteSession(const char *session_name);
extern Bool getnextline(char **pbuf, int *plen, FILE *f);
#endif