git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
jbuehler-add-missing-extern-c-patch-20031207
[openafs.git]
/
src
/
WINNT
/
afsusrmgr
/
main.cpp
diff --git
a/src/WINNT/afsusrmgr/main.cpp
b/src/WINNT/afsusrmgr/main.cpp
index
79e4b30
..
5095230
100644
(file)
--- a/
src/WINNT/afsusrmgr/main.cpp
+++ b/
src/WINNT/afsusrmgr/main.cpp
@@
-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);