diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-08-27 19:30:05 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-08-27 19:30:05 +0000 |
commit | 11768cef4d667c23e1ede7f62449204e96a8bcec (patch) | |
tree | 33ee5c1e73601b49d2ea96ac485cf5a3ff12af7e /app/xwininfo/dsimple.h | |
parent | 93c6ad16a956522203d13c16c0dc6e1c3c454a93 (diff) |
xwininfo 1.0.4
Diffstat (limited to 'app/xwininfo/dsimple.h')
-rw-r--r-- | app/xwininfo/dsimple.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/app/xwininfo/dsimple.h b/app/xwininfo/dsimple.h index d4dbd0190..90a6c66a2 100644 --- a/app/xwininfo/dsimple.h +++ b/app/xwininfo/dsimple.h @@ -47,34 +47,21 @@ from The Open Group. #define MIN(a,b) (((a)<(b))?(a):(b)) #endif /* MIN */ - /* Global variables used by routines in just_display.c */ + /* Global variables used by routines in dsimple.c */ extern char *program_name; /* Name of this program */ extern Display *dpy; /* The current display */ extern int screen; /* The current screen */ -extern Bool printer_output; /* Video or printer output ? */ -#ifdef BUILD_PRINTSUPPORT -extern XPContext pcontext; /* The current print context */ -#endif /* BUILD_PRINTSUPPORT */ #define INIT_NAME program_name=argv[0] /* use this in main to setup program_name */ - /* Declaritions for functions in just_display.c */ + /* Declaritions for functions in dsimple.c */ -char *Malloc(unsigned); -char *Realloc(char *, int); char *Get_Display_Name(int *, char **); -#ifdef BUILD_PRINTSUPPORT -char *Get_Printer_Name(int *, char **); -#endif /* BUILD_PRINTSUPPORT */ Display *Open_Display(char *); void Setup_Display_And_Screen(int *, char **); void Close_Display(void); -XFontStruct *Open_Font(char *); -void Beep(void); -Pixmap ReadBitmapFile(Drawable, char *, int *, int *, int *, int *); -void WriteBitmapFile(char *, Pixmap, int, int, int, int); Window Select_Window_Args(int *, char **); void usage(void); @@ -89,14 +76,10 @@ void usage(void); * Send bugs, etc. to chariot@athena.mit.edu. */ -unsigned long Resolve_Color(Window, char *); -Pixmap Bitmap_To_Pixmap(Display *, Drawable, GC, Pixmap, int, int); -Window Select_Window(Display *); -void blip(void); +Window Select_Window(Display *, int); Window Window_With_Name(Display *, Window, char *); #ifdef __GNUC__ void Fatal_Error(char *, ...) __attribute__((__noreturn__)); #else void Fatal_Error(char *, ...); #endif -void outl(char *, ...); |