diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-08-10 11:52:39 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-08-10 11:52:39 -0700 |
commit | 5424a5c064d96b33a4acdf951734cd3a493a7ea3 (patch) | |
tree | 185ceb5d38db0563e0f30c6de8c3e355c85f83f8 /dsimple.h | |
parent | 2d7dc57ae1d5e0af6e6ecb70764c512f6d518d6a (diff) |
Purge unused code from dsimple.c
dsimple.c was originally shared source among several X apps.
Since modularization gave each app it's own copy, much of the code is
no longer needed in each app.
Diffstat (limited to 'dsimple.h')
-rw-r--r-- | dsimple.h | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -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 *); 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 +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 *); #ifdef __GNUC__ void Fatal_Error(char *, ...) __attribute__((__noreturn__)); #else void Fatal_Error(char *, ...); #endif -void outl(char *, ...); |