diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-19 18:36:17 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-19 18:36:17 -0700 |
commit | 7ed5afd77941f89467e57ec8562992dd27ea3e7f (patch) | |
tree | 0ed06ab35dbc2c508aeca484688159337d05e9ef /dsimple.h | |
parent | 6f16b22c4a6a878ca0f07e57da50f7ac04fef306 (diff) |
Fix const conversion warnings from gcc
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
@@ -49,7 +49,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 */ @@ -80,4 +80,4 @@ void usage(void); Window Select_Window(Display *, int descend); Window Window_With_Name(Display *, Window, const char *); -void Fatal_Error(char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1,2); +void Fatal_Error(const char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1,2); |