From b6ea75cfc9712b77a0886c4348d6fb519641e40e Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Mon, 21 Jan 2008 03:11:44 +0000 Subject: de K&Rify, fix prototypes --- zwgc/X_gram.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'zwgc/X_gram.h') diff --git a/zwgc/X_gram.h b/zwgc/X_gram.h index 33623f1..5d3f5d0 100644 --- a/zwgc/X_gram.h +++ b/zwgc/X_gram.h @@ -18,8 +18,11 @@ #define x_gram_TYPE #include +#include #include +#include "formatter.h" + typedef struct _xblock { unsigned long fgcolor; Font fid; @@ -73,10 +76,11 @@ typedef struct _xlinedesc { #define CENTERALIGN 1 #define RIGHTALIGN 2 -extern void x_gram_init(); -extern void x_gram_create(); -extern void x_gram_expose(); -extern void xshow(); -extern void xcut(); +extern void x_gram_init(Display *); +extern void x_gram_create(Display *, x_gram *, int, int, int, int, int, int, int); +extern void x_gram_expose(Display *, Window, x_gram *, XExposeEvent *); +extern void xshow(Display *, desctype *, int, int); +extern void xcut(Display *, XEvent *, XContext); +extern void x_get_input(Display *); #endif -- cgit v1.2.3