aboutsummaryrefslogtreecommitdiff
path: root/apps/xwininfo/dsimple.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xwininfo/dsimple.c')
-rw-r--r--apps/xwininfo/dsimple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/xwininfo/dsimple.c b/apps/xwininfo/dsimple.c
index d1b9fd903..5f98c5675 100644
--- a/apps/xwininfo/dsimple.c
+++ b/apps/xwininfo/dsimple.c
@@ -75,7 +75,7 @@ from The Open Group.
/* This stuff is defined in the calling program by dsimple.h */
-char *program_name = "unknown_program";
+const char *program_name = "unknown_program";
/*
* Get_Display_Name (argc, argv) - return string representing display name
@@ -403,7 +403,7 @@ Window_With_Name (
/*
* Standard fatal error routine - call like printf
*/
-void Fatal_Error (char *msg, ...)
+void Fatal_Error (const char *msg, ...)
{
va_list args;
fflush (stdout);