Fixed namespace pollution due to a number of global symbols missing an fg prefix
[freeglut] / src / x11 / fg_xinput_x11.c
index b1415e9..5dcbb8d 100644 (file)
 /* convert the XInput button state mask to the regular X mouse event button mask */
 #define BUTTON_MASK(xistate)   ((xistate) << 8)
 
-/* import function from freeglut_main.c */
+/* import function from fg_main.c */
 extern int fgPlatformGetModifiers( int state );
 
 /* extension opcode for XInput */
-int xi_opcode = -1;
+static int xi_opcode = -1;
 
 /**
  * \brief Sets window up for XI2 events.