Fix warning about uninitialized variable
[ntk/apt.git] / apt-pkg / contrib / sha2_internal.h
index bf759ad..1b82d96 100644 (file)
 #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
@@ -49,6 +44,7 @@ extern "C" {
 
 #ifdef SHA2_USE_INTTYPES_H
 
+#include <stddef.h>
 #include <inttypes.h>
 
 #endif /* SHA2_USE_INTTYPES_H */
@@ -189,9 +185,5 @@ char* SHA512_Data();
 
 #endif /* NOPROTO */
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
 #endif /* __SHA2_H__ */