diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2021-08-29 18:23:59 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2021-08-29 18:23:59 +0000 |
commit | dd8941239e7e7f6312d2804a556ae31a5d0a5695 (patch) | |
tree | 4b4dc42f57a3a700d772cf473ad13e3022e443f9 /app/xwd/dsimple.h | |
parent | b72eaa12e584775cc214ee6630f9dc2cf73fdef1 (diff) |
Update to xwd 1.0.8
Diffstat (limited to 'app/xwd/dsimple.h')
-rw-r--r-- | app/xwd/dsimple.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/app/xwd/dsimple.h b/app/xwd/dsimple.h index 18679b87c..416e96ab3 100644 --- a/app/xwd/dsimple.h +++ b/app/xwd/dsimple.h @@ -51,10 +51,10 @@ extern const char *program_name; /* Name of this program */ extern Display *dpy; /* The current display */ extern int screen; /* The current screen */ -#define INIT_NAME program_name=argv[0] /* use this in main to setup - program_name */ +#define INIT_NAME program_name=argv[0] /* use this in main to setup + program_name */ - /* Declaritions for functions in just_display.c */ + /* Declarations for functions in just_display.c */ char *Get_Display_Name(int *, char **); Display *Open_Display(const char *); @@ -63,8 +63,8 @@ void Close_Display(void); Window Select_Window_Args(int *, char **); void usage(const char *errmsg) _X_NORETURN _X_COLD; -#define X_USAGE "[host:display]" /* X arguments handled by - Get_Display_Name */ +#define X_USAGE "[host:display]" /* X arguments handled by + Get_Display_Name */ /* * Other_stuff.h: Definitions of routines in other_stuff. @@ -76,5 +76,6 @@ void usage(const char *errmsg) _X_NORETURN _X_COLD; Window Select_Window(Display *, int); Window Window_With_Name(Display *, Window, const char *); -void Fatal_Error(const char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1, 2) _X_COLD; +void Fatal_Error(const char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1, 2) + _X_COLD; void outl(const char *, ...) _X_ATTRIBUTE_PRINTF(1, 2); |