summaryrefslogtreecommitdiffstats
path: root/src/windows
diff options
context:
space:
mode:
authorKevin Wasserman <kevin.wasserman@painless-security.com>2012-06-13 11:23:31 -0400
committerBen Kaduk <kaduk@mit.edu>2012-08-24 15:54:49 -0400
commit0101affa062aa34398bd571740d8d84f6bf45d4d (patch)
tree282eded2f63bf18befb8d98f732396a272c20287 /src/windows
parent68c9b0afef303114c7a43cb90d2516e5d7e2d817 (diff)
downloadkrb5-0101affa062aa34398bd571740d8d84f6bf45d4d.tar.gz
krb5-0101affa062aa34398bd571740d8d84f6bf45d4d.tar.xz
krb5-0101affa062aa34398bd571740d8d84f6bf45d4d.zip
C++ safety for leashdll.h
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> ticket: 7270 (new) queue: kfw target_version: 1.10.4 tags: pullup
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/leashdll/leashdll.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/windows/leashdll/leashdll.h b/src/windows/leashdll/leashdll.h
index 63cfe234f..b990224da 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_ */