summaryrefslogtreecommitdiff
path: root/app/xwd/dsimple.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-08-17 16:38:22 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-08-17 16:38:22 +0000
commit1089d2cd28dc9638993e9971636e72eb034bdb9e (patch)
treefb54a9e4886d53ace26cba203ac125f01067a768 /app/xwd/dsimple.h
parentc653dbb0f0fee5655c2b7ef55857398cffbf8386 (diff)
Update to xwd 1.0.6
Diffstat (limited to 'app/xwd/dsimple.h')
-rw-r--r--app/xwd/dsimple.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/xwd/dsimple.h b/app/xwd/dsimple.h
index 895ee8374..b0422bd9c 100644
--- a/app/xwd/dsimple.h
+++ b/app/xwd/dsimple.h
@@ -47,7 +47,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 */
@@ -76,5 +76,5 @@ void usage(void) _X_NORETURN;
Window Select_Window(Display *, int);
Window Window_With_Name(Display *, Window, const char *);
-void Fatal_Error(char *, ...) _X_NORETURN;
-void outl(char *, ...);
+void Fatal_Error(const char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1, 2);
+void outl(const char *, ...) _X_ATTRIBUTE_PRINTF(1, 2);