krb5 commit: C++ safety for leashdll.h
Benjamin Kaduk
kaduk at MIT.EDU
Fri Aug 24 15:55:26 EDT 2012
https://github.com/krb5/krb5/commit/0101affa062aa34398bd571740d8d84f6bf45d4d
commit 0101affa062aa34398bd571740d8d84f6bf45d4d
Author: Kevin Wasserman <kevin.wasserman at painless-security.com>
Date: Wed Jun 13 11:23:31 2012 -0400
C++ safety for leashdll.h
Signed-off-by: Kevin Wasserman <kevin.wasserman at painless-security.com>
ticket: 7270 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
src/windows/leashdll/leashdll.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/windows/leashdll/leashdll.h b/src/windows/leashdll/leashdll.h
index 63cfe23..b990224 100644
--- a/src/windows/leashdll/leashdll.h
+++ b/src/windows/leashdll/leashdll.h
@@ -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_ */
More information about the cvs-krb5
mailing list