summaryrefslogtreecommitdiffstats
path: root/crypto/seed
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2018-06-21 22:24:34 +0200
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-06-22 12:24:59 +0200
commit34446a852457600fc1297edce81e14da4e287191 (patch)
tree6f2e4fe20faebe8e947cb9b28b9040f1671a3fd9 /crypto/seed
parentConfigure,util/shlib_wrap.sh: harmonize -Wl and -rpath handling. (diff)
downloadopenssl-34446a852457600fc1297edce81e14da4e287191.tar.xz
openssl-34446a852457600fc1297edce81e14da4e287191.zip
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 <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/6554)
Diffstat (limited to 'crypto/seed')
-rw-r--r--crypto/seed/seed_locl.h8
1 files changed, 0 insertions, 8 deletions
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 */