Added support for 3Dconnexion Space Navigator.
[freeglut] / src / mswin / fg_init_mswin.c
index 9822f8c..b1c51da 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * freeglut_init_mswin.c
+ * fg_init_mswin.c
  *
  * The Windows-specific mouse cursor related stuff.
  *
@@ -34,6 +34,7 @@
 extern LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg,
                                WPARAM wParam, LPARAM lParam );
 extern void fgPlatformInitSystemTime();
+extern void fghCloseInputDevices(void);
 
 
 /*
@@ -42,7 +43,7 @@ extern void fgPlatformInitSystemTime();
 void fgPlatformInitialize( const char* displayName )
 {
     WNDCLASS wc;
-    ATOM atom;
+    BOOL atom;
 
     /* What we need to do is to initialize the fgDisplay global structure here. */
     fgDisplay.pDisplay.Instance = GetModuleHandle( NULL );
@@ -138,8 +139,6 @@ void fgPlatformInitialize( const char* displayName )
 
 
 /* Platform-Specific Deinitialization Functions: */
-extern void fghCloseInputDevices ( void );
-
 void fgPlatformDeinitialiseInputDevices ( void )
 {
 #if !defined(_WIN32_WCE)