[hackers] [dmenu] foooooo

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Fri Jun 01 12:29:26 2007

changeset: 212:494de087c3ef
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Fri Jun 01 12:28:30 2007 +0200
summary: foooooo

diff -r 55399b039414 -r 494de087c3ef dmenu.h
--- a/dmenu.h Wed May 30 12:22:38 2007 +0200
+++ b/dmenu.h Fri Jun 01 12:28:30 2007 +0200
@@ -26,9 +26,9 @@ typedef struct {
         } font;
 } DC; /* draw context */
 
-int screen;
-Display *dpy;
-DC dc; /* global drawing context */
+extern int screen;
+extern Display *dpy;
+extern DC dc; /* global drawing context */
 
 /* draw.c */
 void drawtext(const char *text, unsigned long col[ColLast]);
@@ -36,6 +36,6 @@ unsigned int textnw(const char *text, un
 unsigned int textnw(const char *text, unsigned int len);
 
 /* util.c */
-void *emalloc(unsigned int size); /* allocates memory, exits on error */
-void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */
-char *estrdup(const char *str); /* duplicates str, exits on allocation error */
+void *emalloc(unsigned int size); /* allocates memory, exits on error */
+void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */
+char *estrdup(const char *str); /* duplicates str, exits on allocation error */
Received on Fri Jun 01 2007 - 12:29:26 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:14 UTC