]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
C++ safety for leashdll.h
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Wed, 13 Jun 2012 15:23:31 +0000 (11:23 -0400)
committerBen Kaduk <kaduk@mit.edu>
Fri, 24 Aug 2012 19:54:49 +0000 (15:54 -0400)
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7270 (new)
queue: kfw
target_version: 1.10.4
tags: pullup

src/windows/leashdll/leashdll.h

index 63cfe234f8b0bd89af0d2d18b29c16e65af46207..b990224da1b84230983abdd095dca969d020a4db 100644 (file)
@@ -2,6 +2,9 @@
 #define _LEASHDLL_H_
 
 #include <com_err.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
 #ifndef NO_KRB4
 /*
  * This is a hack needed because the real com_err.h does
@@ -262,4 +265,8 @@ extern DECL_FUNC_PTR(LsaCallAuthenticationPackage);
 extern DECL_FUNC_PTR(LsaFreeReturnBuffer);
 extern DECL_FUNC_PTR(LsaGetLogonSessionData);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _LEASHDLL_H_ */