about summary refs log tree commit diff stats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-06-01 12:11:25 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-06-01 12:11:25 +0200
commitb3419f49a315e9ca0d0870878b353fafec1e3e5c (patch)
tree5b87229e9a9bdee8fd0a2d79b8164bffbd759548 /dwm.h
parent141beb27041371672d54da7f541a3855fab0ac5b (diff)
downloaddwm-b3419f49a315e9ca0d0870878b353fafec1e3e5c.tar.gz
making variable declarations in dwm.h extern, this seems to be more ansi compliant
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/dwm.h b/dwm.h
index b2162c0..bd190c6 100644
--- a/dwm.h
+++ b/dwm.h
@@ -78,21 +78,21 @@ typedef struct {
 	void (*arrange)(void);
 } Layout;
 
-extern const char *tags[];		/* all tags */
-char stext[256];			/* status text */
-int screen, sx, sy, sw, sh;		/* screen geometry */
-int wax, way, wah, waw;			/* windowarea geometry */
-unsigned int bh, blw, bpos;		/* bar height, bar layout label width, bar position */
-unsigned int ntags, numlockmask;	/* number of tags, dynamic lock mask */
-void (*handler[LASTEvent])(XEvent *);	/* event handler */
-Atom wmatom[WMLast], netatom[NetLast];
-Bool selscreen, *seltag;		/* seltag is array of Bool */
-Client *clients, *sel, *stack;		/* global client list and stack */
-Cursor cursor[CurLast];
-DC dc;					/* global draw context */
-Display *dpy;
-Layout *lt;
-Window root, barwin;
+extern const char *tags[];			/* all tags */
+extern char stext[256];				/* status text */
+extern int screen, sx, sy, sw, sh;		/* screen geometry */
+extern int wax, way, wah, waw;			/* windowarea geometry */
+extern unsigned int bh, blw, bpos;		/* bar height, bar layout label width, bar position */
+extern unsigned int ntags, numlockmask;		/* number of tags, numlock mask */
+extern void (*handler[LASTEvent])(XEvent *);	/* event handler */
+extern Atom wmatom[WMLast], netatom[NetLast];
+extern Bool selscreen, *seltag;			/* seltag is array of Bool */
+extern Client *clients, *sel, *stack;		/* global client list and stack */
+extern Cursor cursor[CurLast];
+extern DC dc;					/* global draw context */
+extern Display *dpy;
+extern Layout *lt;
+extern Window root, barwin;
 
 /* client.c */
 void attach(Client *c);			/* attaches c to global client list */