dwm-meillo

diff main.c @ 138:c1185dc7a36e

some cleanups/fixes inspired by Jukka Salmi's feedback
author arg@10ksloc.org
date Fri, 21 Jul 2006 18:34:10 +0200
parents 77922a389fa8
children f328ce9c558c
line diff
     1.1 --- a/main.c	Fri Jul 21 14:11:38 2006 +0200
     1.2 +++ b/main.c	Fri Jul 21 18:34:10 2006 +0200
     1.3 @@ -10,6 +10,7 @@
     1.4  #include <stdlib.h>
     1.5  #include <string.h>
     1.6  #include <unistd.h>
     1.7 +#include <sys/select.h>
     1.8  #include <X11/cursorfont.h>
     1.9  #include <X11/Xatom.h>
    1.10  #include <X11/Xproto.h>
    1.11 @@ -163,7 +164,7 @@
    1.12  int
    1.13  main(int argc, char *argv[])
    1.14  {
    1.15 -	int i, n;
    1.16 +	int i;
    1.17  	unsigned int mask;
    1.18  	fd_set rd;
    1.19  	Bool readin = True;