jbuehler-add-missing-extern-c-patch-20031207
[openafs.git] / src / WINNT / afssvrcfg / afscfg.cpp
index 2f41449..f374256 100644 (file)
@@ -121,7 +121,7 @@ LOGFILE g_LogFile;
  * EXPORTED FUNCTIONS _________________________________________________________________
  *
  */
-int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR pszCmdLineA, int nCmdShow)
+extern "C" int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR pszCmdLineA, int nCmdShow)
 {
        afs_status_t nStatus;