jbuehler-add-missing-extern-c-patch-20031207
[openafs.git] / src / WINNT / client_creds / main.cpp
index 9de534f..f2b9618 100644 (file)
@@ -53,7 +53,7 @@ BOOL IsServerInstalled (void);
  *
  */
 
-int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR pCmdLine, int nCmdShow)
+extern "C" int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR pCmdLine, int nCmdShow)
 {
    Shortcut_Init();
    TaLocale_LoadCorrespondingModule (hInst);