summaryrefslogtreecommitdiff
path: root/app/xlsfonts/dsimple.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-06-12 16:53:37 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-06-12 16:53:37 +0000
commit21b33267273c9bbae4881db7a1267f1e8e5b688c (patch)
tree3ef4879493674038b6c6a7f968ce2d5c2c01f3b3 /app/xlsfonts/dsimple.h
parentee933aeda2be8652e9a74df32654540795333a1b (diff)
Update to xlsfonts 1.0.3
Diffstat (limited to 'app/xlsfonts/dsimple.h')
-rw-r--r--app/xlsfonts/dsimple.h36
1 files changed, 4 insertions, 32 deletions
diff --git a/app/xlsfonts/dsimple.h b/app/xlsfonts/dsimple.h
index d4dbd0190..e49837c66 100644
--- a/app/xlsfonts/dsimple.h
+++ b/app/xlsfonts/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
*
@@ -52,51 +52,23 @@ 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 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);
#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 *, ...);