jbuehler-add-missing-extern-c-patch-20031207
[openafs.git] / src / WINNT / afsusrmgr / main.cpp
index 79e4b30..5095230 100644 (file)
@@ -56,7 +56,7 @@ void ExitApplication (void);
  *
  */
 
-int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR pszCmdLineA, int nCmdShow)
+extern "C" int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR pszCmdLineA, int nCmdShow)
 {
    LPTSTR pszCmdLine = AnsiToString (pszCmdLineA);