summaryrefslogtreecommitdiff
path: root/dsimple.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 23:16:53 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 23:16:53 -0800
commit1dd99ee7d52871c998d0944311260623d131521f (patch)
tree90afd0eacff420d56a515f3d69b5d94662a17780 /dsimple.h
parent862292d9509856cfd311f9741db059b92a5fd78a (diff)
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'dsimple.h')
-rw-r--r--dsimple.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dsimple.h b/dsimple.h
index c01f85d..6ef852a 100644
--- a/dsimple.h
+++ b/dsimple.h
@@ -51,7 +51,7 @@ from The Open Group.
/* Global variables used by routines in just_display.c */
-extern char *program_name; /* Name of this program */
+extern const char *program_name; /* Name of this program */
extern Display *dpy; /* The current display */
extern int screen; /* The current screen */
@@ -67,4 +67,4 @@ void usage(void);
#define X_USAGE "[host:display]" /* X arguments handled by
Get_Display_Name */
-void Fatal_Error(char *, ...) _X_NORETURN;
+void Fatal_Error(const char *, ...) _X_NORETURN;