From 34446a852457600fc1297edce81e14da4e287191 Mon Sep 17 00:00:00 2001 From: Nicola Tuveri Date: Thu, 21 Jun 2018 23:24:34 +0300 Subject: Remove __cplusplus preamble from internal headers These headers are internal and never exposed to a cpp compiler, hence no need for the preamble. Reviewed-by: Matt Caswell Reviewed-by: Rich Salz Reviewed-by: Paul Dale Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/6554) --- crypto/seed/seed_locl.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'crypto/seed') diff --git a/crypto/seed/seed_locl.h b/crypto/seed/seed_locl.h index d4a03fc4aa..97c43ef684 100644 --- a/crypto/seed/seed_locl.h +++ b/crypto/seed/seed_locl.h @@ -45,10 +45,6 @@ typedef unsigned int seed_word; # endif -#ifdef __cplusplus -extern "C" { -#endif - # define char2word(c, i) \ (i) = ((((seed_word)(c)[0]) << 24) | (((seed_word)(c)[1]) << 16) | (((seed_word)(c)[2]) << 8) | ((seed_word)(c)[3])) @@ -113,8 +109,4 @@ extern "C" { (X1) ^= (T0); \ (X2) ^= (T1) -#ifdef __cplusplus -} -#endif - #endif /* HEADER_SEED_LOCL_H */ -- cgit v1.2.3