diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-24 14:07:40 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-24 14:07:40 +0100 |
commit | 598d72fba9cb6551ddfe8cf4ab470e3a9185bb72 (patch) | |
tree | 9a1d07703adad2befc5ddb151a2a365b45b471a3 | |
parent | 007be12f2bf7648f79138e834477e77f612766bb (diff) |
removed superfluous externs as well
-rw-r--r-- | dmenu.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -29,16 +29,16 @@ typedef struct { | |||
29 | } font; | 29 | } font; |
30 | } DC; /* draw context */ | 30 | } DC; /* draw context */ |
31 | 31 | ||
32 | extern int screen; | 32 | int screen; |
33 | extern Display *dpy; | 33 | Display *dpy; |
34 | extern DC dc; /* global drawing context */ | 34 | DC dc; /* global drawing context */ |
35 | 35 | ||
36 | /* draw.c */ | 36 | /* draw.c */ |
37 | extern void drawtext(const char *text, unsigned long col[ColLast]); | 37 | void drawtext(const char *text, unsigned long col[ColLast]); |
38 | extern unsigned int textw(const char *text); | 38 | unsigned int textw(const char *text); |
39 | extern unsigned int textnw(const char *text, unsigned int len); | 39 | unsigned int textnw(const char *text, unsigned int len); |
40 | 40 | ||
41 | /* util.c */ | 41 | /* util.c */ |
42 | extern void *emalloc(unsigned int size); /* allocates memory, exits on error */ | 42 | void *emalloc(unsigned int size); /* allocates memory, exits on error */ |
43 | extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ | 43 | void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ |
44 | extern char *estrdup(const char *str); /* duplicates str, exits on allocation error */ | 44 | char *estrdup(const char *str); /* duplicates str, exits on allocation error */ |