X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fx11%2Ffg_input_devices_x11.c;h=a25de69b7aa01292e9c98a58650b083c31cddb2a;hb=2c12c9eb8d63cabac2d4113b4f54fdf53da8368c;hp=a94e52a268cf544be76015d4ae26ebce2e529c88;hpb=5b3d339481bac6dbaeb599bffc1325f716585bfe;p=freeglut diff --git a/src/x11/fg_input_devices_x11.c b/src/x11/fg_input_devices_x11.c index a94e52a..a25de69 100644 --- a/src/x11/fg_input_devices_x11.c +++ b/src/x11/fg_input_devices_x11.c @@ -1,5 +1,5 @@ /* - * freeglut_input_devices_x11.c + * fg_input_devices_x11.c * * Handles miscellaneous input devices via direct serial-port access. * Proper X11 XInput device support is not yet supported. @@ -30,16 +30,10 @@ * DEALINGS IN THE SOFTWARE. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include #include "../fg_internal.h" -#ifdef HAVE_ERRNO_H #include -#endif #include #include #include @@ -56,9 +50,6 @@ typedef struct _serialport SERIALPORT; void serial_flush ( SERIALPORT *port ); -/* local variables */ -static SERIALPORT *dialbox_port=NULL; - /*****************************************************************/ /*