jbuehler-add-missing-extern-c-patch-20031207
[openafs.git] / src / WINNT / client_config / main.cpp
index 8ec5905..ad4255f 100644 (file)
@@ -10,6 +10,7 @@
 extern "C" {
 #include <afs/param.h>
 #include <afs/stds.h>
+#include <afs/fs_utils.h>
 }
 
 #include "afs_config.h"
@@ -20,7 +21,6 @@ extern "C" {
 #include "tab_drives.h"
 #include "tab_advanced.h"
 
-
 /*
  * DEFINITIONS ________________________________________________________________
  *
@@ -34,21 +34,12 @@ extern "C" {
 
 GLOBALS g;
 
-
-/*
- * PROTOTYPES _________________________________________________________________
- *
- */
-
-void Quit (void);
-
-
 /*
  * ROUTINES ___________________________________________________________________
  *
  */
 
-int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR pCmdLine, int nCmdShow)
+extern "C" int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR pCmdLine, int nCmdShow)
 {
    TaLocale_LoadCorrespondingModule (hInst);
 
@@ -62,6 +53,7 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR pCmdLine, int nCmdSh
    RegisterFastListClass();
    RegisterSockAddrClass();
    RegisterSpinnerClass();
+   fs_utils_InitMountRoot();
 
    // Initialize our global variables and window classes
    //