Просмотр исходного кода

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

Michael Vogt лет назад: 15
Родитель
Сommit
3d27d81fd7
1 измененных файлов с 0 добавлено и 9 удалено
  1. 0 9
      apt-pkg/contrib/sha2_internal.h

+ 0 - 9
apt-pkg/contrib/sha2_internal.h

@@ -35,11 +35,6 @@
 #ifndef __SHA2_H__
 #ifndef __SHA2_H__
 #define __SHA2_H__
 #define __SHA2_H__
 
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
 /*
 /*
  * Import u_intXX_t size_t type definitions from system headers.  You
  * Import u_intXX_t size_t type definitions from system headers.  You
  * may need to change this, or define these things yourself in this
  * may need to change this, or define these things yourself in this
@@ -189,9 +184,5 @@ char* SHA512_Data();
 
 
 #endif /* NOPROTO */
 #endif /* NOPROTO */
 
 
-#ifdef	__cplusplus
-}
-#endif /* __cplusplus */
-
 #endif /* __SHA2_H__ */
 #endif /* __SHA2_H__ */