aboutsummaryrefslogtreecommitdiff
path: root/apps/xwininfo/dsimple.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xwininfo/dsimple.h')
-rw-r--r--apps/xwininfo/dsimple.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/xwininfo/dsimple.h b/apps/xwininfo/dsimple.h
index b6adc4345..952960542 100644
--- a/apps/xwininfo/dsimple.h
+++ b/apps/xwininfo/dsimple.h
@@ -43,7 +43,7 @@ typedef enum { False = 0, True } Bool;
/* Global variables used by routines in dsimple.c */
-extern char *program_name; /* Name of this program */
+extern const char *program_name; /* Name of this program */
/* Declarations for functions in dsimple.c */
@@ -54,7 +54,7 @@ void Setup_Display_And_Screen (const char *displayname,
xcb_window_t Select_Window (xcb_connection_t *, const xcb_screen_t *, int);
xcb_window_t Window_With_Name (xcb_connection_t *, xcb_window_t, 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);
void Print_X_Error (xcb_connection_t *, xcb_generic_error_t *);