aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/dmenu.h b/dmenu.h
index 2174688..84e19e6 100644
--- a/dmenu.h
+++ b/dmenu.h
@@ -29,16 +29,16 @@ typedef struct {
29 } font; 29 } font;
30} DC; /* draw context */ 30} DC; /* draw context */
31 31
32extern int screen; 32int screen;
33extern Display *dpy; 33Display *dpy;
34extern DC dc; /* global drawing context */ 34DC dc; /* global drawing context */
35 35
36/* draw.c */ 36/* draw.c */
37extern void drawtext(const char *text, unsigned long col[ColLast]); 37void drawtext(const char *text, unsigned long col[ColLast]);
38extern unsigned int textw(const char *text); 38unsigned int textw(const char *text);
39extern unsigned int textnw(const char *text, unsigned int len); 39unsigned int textnw(const char *text, unsigned int len);
40 40
41/* util.c */ 41/* util.c */
42extern void *emalloc(unsigned int size); /* allocates memory, exits on error */ 42void *emalloc(unsigned int size); /* allocates memory, exits on error */
43extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ 43void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */
44extern char *estrdup(const char *str); /* duplicates str, exits on allocation error */ 44char *estrdup(const char *str); /* duplicates str, exits on allocation error */