summaryrefslogtreecommitdiff
path: root/dsimple.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-06-26 21:19:42 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-06-26 21:19:42 -0700
commit77c46f5ed8d96106ff117f89932ada0439193cb6 (patch)
tree6916b6170d3462dc1c8ebea5a3e50244965854c2 /dsimple.h
parent74003cdc55c5ca091c0804328c3d140b2b38baa4 (diff)
Remove unused code from dsimple.c
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'dsimple.h')
-rw-r--r--dsimple.h29
1 files changed, 4 insertions, 25 deletions
diff --git a/dsimple.h b/dsimple.h
index c0c04cf..e49837c 100644
--- a/dsimple.h
+++ b/dsimple.h
@@ -29,10 +29,10 @@ from The Open Group.
/* $XFree86: xc/programs/xlsfonts/dsimple.h,v 1.8 2002/12/24 17:43:01 tsi Exp $ */
/*
- * Just_display.h: This file contains the definitions needed to use the
- * functions in just_display.c. It also declares the global
+ * dsimple.h: This file contains the definitions needed to use the
+ * functions in dsimple.c. It also declares the global
* variables dpy, screen, and program_name which are needed to
- * use just_display.c.
+ * use dsimple.c.
*
* Written by Mark Lillibridge. Last updated 7/1/87
*
@@ -56,40 +56,19 @@ extern int screen; /* The current screen */
#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 dsimple.c */
char *Malloc(unsigned);
char *Realloc(char *, int);
-char *Get_Display_Name(int *, char **);
-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);
#define X_USAGE "[host:display]" /* X arguments handled by
Get_Display_Name */
-/*
- * Other_stuff.h: Definitions of routines in other_stuff.
- *
- * Written by Mark Lillibridge. Last updated 7/1/87
- *
- * 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 *, ...);