diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-06-01 12:11:25 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-06-01 12:11:25 +0200 |
| commit | b3419f49a315e9ca0d0870878b353fafec1e3e5c (patch) | |
| tree | 5b87229e9a9bdee8fd0a2d79b8164bffbd759548 | |
| parent | replaced BORDERPX with sel->border in togglemax(), in other places this is no... (diff) | |
| download | dwm-b3419f49a315e9ca0d0870878b353fafec1e3e5c.tar.gz dwm-b3419f49a315e9ca0d0870878b353fafec1e3e5c.zip | |
making variable declarations in dwm.h extern, this seems to be more ansi compliant
| -rw-r--r-- | dwm.h | 30 |
1 files changed, 15 insertions, 15 deletions
| @@ -78,21 +78,21 @@ typedef struct { | |||
| 78 | void (*arrange)(void); | 78 | void (*arrange)(void); |
| 79 | } Layout; | 79 | } Layout; |
| 80 | 80 | ||
| 81 | extern const char *tags[]; /* all tags */ | 81 | extern const char *tags[]; /* all tags */ |
| 82 | char stext[256]; /* status text */ | 82 | extern char stext[256]; /* status text */ |
| 83 | int screen, sx, sy, sw, sh; /* screen geometry */ | 83 | extern int screen, sx, sy, sw, sh; /* screen geometry */ |
| 84 | int wax, way, wah, waw; /* windowarea geometry */ | 84 | extern int wax, way, wah, waw; /* windowarea geometry */ |
| 85 | unsigned int bh, blw, bpos; /* bar height, bar layout label width, bar position */ | 85 | extern unsigned int bh, blw, bpos; /* bar height, bar layout label width, bar position */ |
| 86 | unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ | 86 | extern unsigned int ntags, numlockmask; /* number of tags, numlock mask */ |
| 87 | void (*handler[LASTEvent])(XEvent *); /* event handler */ | 87 | extern void (*handler[LASTEvent])(XEvent *); /* event handler */ |
| 88 | Atom wmatom[WMLast], netatom[NetLast]; | 88 | extern Atom wmatom[WMLast], netatom[NetLast]; |
| 89 | Bool selscreen, *seltag; /* seltag is array of Bool */ | 89 | extern Bool selscreen, *seltag; /* seltag is array of Bool */ |
| 90 | Client *clients, *sel, *stack; /* global client list and stack */ | 90 | extern Client *clients, *sel, *stack; /* global client list and stack */ |
| 91 | Cursor cursor[CurLast]; | 91 | extern Cursor cursor[CurLast]; |
| 92 | DC dc; /* global draw context */ | 92 | extern DC dc; /* global draw context */ |
| 93 | Display *dpy; | 93 | extern Display *dpy; |
| 94 | Layout *lt; | 94 | extern Layout *lt; |
| 95 | Window root, barwin; | 95 | extern Window root, barwin; |
| 96 | 96 | ||
| 97 | /* client.c */ | 97 | /* client.c */ |
| 98 | void attach(Client *c); /* attaches c to global client list */ | 98 | void attach(Client *c); /* attaches c to global client list */ |
