From: Michael Vogt <michael.vogt@ubuntu.com>
Date: Fri, 29 Jul 2011 16:40:34 +0000 (+0200)
Subject: apt-pkg/contrib/sha2_internal.h: remove extern "C" to avoid symbol clash with libssl
X-Git-Tag: 0.9.0~66
X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/3d27d81fd7d4bd0017a177698e891250893309f0?ds=sidebyside

apt-pkg/contrib/sha2_internal.h: remove extern "C" to avoid symbol clash with libssl
---

diff --git a/apt-pkg/contrib/sha2_internal.h b/apt-pkg/contrib/sha2_internal.h
index bf759ad45..d9d429c92 100644
--- a/apt-pkg/contrib/sha2_internal.h
+++ b/apt-pkg/contrib/sha2_internal.h
@@ -35,11 +35,6 @@
 #ifndef __SHA2_H__
 #define __SHA2_H__
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
 /*
  * Import u_intXX_t size_t type definitions from system headers.  You
  * may need to change this, or define these things yourself in this
@@ -189,9 +184,5 @@ char* SHA512_Data();
 
 #endif /* NOPROTO */
 
-#ifdef	__cplusplus
-}
-#endif /* __cplusplus */
-
 #endif /* __SHA2_H__ */