src/video/x11/SDL_x11touch.c
changeset 5981 75caa8a7d559
parent 5968 b229328c7ad4
child 6138 4c64952a58fb
     1.1 --- a/src/video/x11/SDL_x11touch.c	Wed Oct 12 20:01:09 2011 -0400
     1.2 +++ b/src/video/x11/SDL_x11touch.c	Thu Oct 13 01:08:30 2011 -0400
     1.3 @@ -39,7 +39,6 @@
     1.4    FILE *fd;
     1.5    fd = fopen("/proc/bus/input/devices","r");
     1.6  
     1.7 -  char c;
     1.8    int i = 0;
     1.9    int tsfd;
    1.10    char line[256];
    1.11 @@ -111,7 +110,7 @@
    1.12      }
    1.13    }
    1.14  
    1.15 -  close(fd);
    1.16 +  fclose(fd);
    1.17  #endif
    1.18  }
    1.19