summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-26 15:55:55 +0300
committerTor Lillqvist <tml@iki.fi>2013-04-26 15:56:32 +0300
commit8bcbc1d51dfaa40961c12324423fbf263be78538 (patch)
tree6f507d2fff05ed65ce07b3560ef38299f2b69fce /sal
parent40ddc26252ef6c4a5cbe457143b13682368adce4 (diff)
This *is* C code
Change-Id: I4461b7a38862ad2c9861861fad8d6bf4bafd01ab
Diffstat (limited to 'sal')
-rw-r--r--sal/systools/win32/uwinapi/legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/systools/win32/uwinapi/legacy.c b/sal/systools/win32/uwinapi/legacy.c
index 777df2b7385e..b789c07bbb8d 100644
--- a/sal/systools/win32/uwinapi/legacy.c
+++ b/sal/systools/win32/uwinapi/legacy.c
@@ -14,7 +14,7 @@
#pragma warning(disable:4273) // inconsistent dll linkage
#endif
-extern "C" DWORD WINAPI GetShortPathNameW(LPCWSTR lpszLongPath,LPWSTR lpszShortPath,DWORD cchBuffer)
+DWORD WINAPI GetShortPathNameW(LPCWSTR lpszLongPath,LPWSTR lpszShortPath,DWORD cchBuffer)
{
typedef DWORD (WINAPI * GetShortPathNameW_t) (LPCWSTR,LPWSTR,DWORD);