aboutsummaryrefslogtreecommitdiff
path: root/ssl/packet_locl.h
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2018-06-21 23:24:34 +0300
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-06-22 12:24:59 +0200
commit34446a852457600fc1297edce81e14da4e287191 (patch)
tree6f2e4fe20faebe8e947cb9b28b9040f1671a3fd9 /ssl/packet_locl.h
parent07e4dc341fa73e8521b7964a1eebdd811c96a160 (diff)
downloadopenssl-34446a852457600fc1297edce81e14da4e287191.zip
openssl-34446a852457600fc1297edce81e14da4e287191.tar.gz
openssl-34446a852457600fc1297edce81e14da4e287191.tar.bz2
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 'ssl/packet_locl.h')
-rw-r--r--ssl/packet_locl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/ssl/packet_locl.h b/ssl/packet_locl.h
index 8e553e6..fd32a64 100644
--- a/ssl/packet_locl.h
+++ b/ssl/packet_locl.h
@@ -18,10 +18,6 @@
# include "internal/numbers.h"
-# ifdef __cplusplus
-extern "C" {
-# endif
-
typedef struct {
/* Pointer to where we are currently reading from */
const unsigned char *curr;
@@ -875,8 +871,4 @@ unsigned char *WPACKET_get_curr(WPACKET *pkt);
/* Release resources in a WPACKET if a failure has occurred. */
void WPACKET_cleanup(WPACKET *pkt);
-# ifdef __cplusplus
-}
-# endif
-
#endif /* HEADER_PACKET_LOCL_H */