aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-24 14:07:40 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-24 14:07:40 +0100
commit598d72fba9cb6551ddfe8cf4ab470e3a9185bb72 (patch)
tree9a1d07703adad2befc5ddb151a2a365b45b471a3
parent007be12f2bf7648f79138e834477e77f612766bb (diff)
removed superfluous externs as well
-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 */