diff options
Diffstat (limited to 'app/xprop/dsimple.h')
-rw-r--r-- | app/xprop/dsimple.h | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/app/xprop/dsimple.h b/app/xprop/dsimple.h index d4dbd0190..755757162 100644 --- a/app/xprop/dsimple.h +++ b/app/xprop/dsimple.h @@ -52,29 +52,18 @@ from The Open Group. 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 */ + /* Declarations for functions in just_display.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 *); +Display *Open_Display(const 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); +XFontStruct *Open_Font(const char *); Window Select_Window_Args(int *, char **); void usage(void); @@ -89,14 +78,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 Window_With_Name(Display *, Window, char *); +Window Select_Window(Display *, int descend); +Window Window_With_Name(Display *, Window, const char *); #ifdef __GNUC__ void Fatal_Error(char *, ...) __attribute__((__noreturn__)); #else void Fatal_Error(char *, ...); #endif -void outl(char *, ...); |