summaryrefslogtreecommitdiff
path: root/dsimple.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-19 18:36:17 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-19 18:36:17 -0700
commit7ed5afd77941f89467e57ec8562992dd27ea3e7f (patch)
tree0ed06ab35dbc2c508aeca484688159337d05e9ef /dsimple.h
parent6f16b22c4a6a878ca0f07e57da50f7ac04fef306 (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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dsimple.h b/dsimple.h
index eb77c7e..4103790 100644
--- a/dsimple.h
+++ b/dsimple.h
@@ -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);