removed superfluous externs as well 598d72fb
Anselm R. Garbe · 2007-02-24 14:07 1 file(s) · +9 −9
dmenu.h +9 −9
29 29
	} font;
30 30
} DC; /* draw context */
31 31
32 -
extern int screen;
33 -
extern Display *dpy;
34 -
extern DC dc;			/* global drawing context */
32 +
int screen;
33 +
Display *dpy;
34 +
DC dc;			/* global drawing context */
35 35
36 36
/* draw.c */
37 -
extern void drawtext(const char *text, unsigned long col[ColLast]);
38 -
extern unsigned int textw(const char *text);
39 -
extern unsigned int textnw(const char *text, unsigned int len);
37 +
void drawtext(const char *text, unsigned long col[ColLast]);
38 +
unsigned int textw(const char *text);
39 +
unsigned int textnw(const char *text, unsigned int len);
40 40
41 41
/* util.c */
42 -
extern void *emalloc(unsigned int size);		/* allocates memory, exits on error */
43 -
extern void eprint(const char *errstr, ...);		/* prints errstr and exits with 1 */
44 -
extern char *estrdup(const char *str);			/* duplicates str, exits on allocation error */
42 +
void *emalloc(unsigned int size);		/* allocates memory, exits on error */
43 +
void eprint(const char *errstr, ...);		/* prints errstr and exits with 1 */
44 +
char *estrdup(const char *str);			/* duplicates str, exits on allocation error */