diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-11 23:16:53 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-11 23:16:53 -0800 |
commit | 1dd99ee7d52871c998d0944311260623d131521f (patch) | |
tree | 90afd0eacff420d56a515f3d69b5d94662a17780 /dsimple.h | |
parent | 862292d9509856cfd311f9741db059b92a5fd78a (diff) |
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'dsimple.h')
-rw-r--r-- | dsimple.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |