From 8bcbc1d51dfaa40961c12324423fbf263be78538 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 26 Apr 2013 15:55:55 +0300 Subject: This *is* C code Change-Id: I4461b7a38862ad2c9861861fad8d6bf4bafd01ab --- sal/systools/win32/uwinapi/legacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal/systools') 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); -- cgit