From: Amos Jeffries Date: Mon, 8 Oct 2012 06:59:13 +0000 (-0600) Subject: Windows: correct C++ type usage on LoadSecurityDll() X-Git-Tag: SQUID_3_4_0_1~598 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ccc7f049125cfd0fb6bcfd4768aadbeeb4ffca4d;p=thirdparty%2Fsquid.git Windows: correct C++ type usage on LoadSecurityDll() --- diff --git a/include/sspwin32.h b/include/sspwin32.h index 9f0fb6be25..a0cf6a9d00 100644 --- a/include/sspwin32.h +++ b/include/sspwin32.h @@ -32,6 +32,10 @@ #ifndef _LIBSSPWIN32_H_ #define _LIBSSPWIN32_H_ +#ifdef __cplusplus +extern "C" { +#endif + #if _SQUID_WINDOWS_ #define SECURITY_WIN32 @@ -64,7 +68,7 @@ typedef char * SSP_blobP; #define SSP_OK 1 #define SSP_ERROR 2 -HMODULE LoadSecurityDll(int, char *); +HMODULE LoadSecurityDll(int, const char *); void UnloadSecurityDll(void); BOOL WINAPI SSP_LogonUser(PTSTR, PTSTR, PTSTR); BOOL WINAPI SSP_ValidateNTLMCredentials(PVOID, int, char *); @@ -75,5 +79,8 @@ const char * WINAPI SSP_MakeNegotiateBlob(PVOID, int, PBOOL, int *, char *); extern BOOL Use_Unicode; extern BOOL NTLM_LocalCall; +#ifdef __cplusplus +} +#endif #endif /* _SQUID_WINDOWS_ */ #endif /* LIBSSPWIN32_H_ */