diff options
author | Rich Salz <rsalz@akamai.com> | 2014-08-27 21:43:25 -0400 |
---|---|---|
committer | Rich Salz <rsalz@akamai.com> | 2014-08-27 21:45:09 -0400 |
commit | 089f10e69ece75ce31540501fe0898b15e898552 (patch) | |
tree | 7a3d6b91f2de16844feb98f99cd7577a0506326d /crypto/pqueue | |
parent | 7f7c05ca638c3cc6d261961fae439cd91e3c1d27 (diff) |
RT2308: Add extern "C" { ... } wrapper
Add the wrapper to all public header files (Configure
generates one). Don't bother for those that are just
lists of #define's that do renaming.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Cherry-pick of commit 17e80c6bd05de7406a65116f34ed59665607d8d5
Diffstat (limited to 'crypto/pqueue')
-rw-r--r-- | crypto/pqueue/pqueue.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/pqueue/pqueue.h b/crypto/pqueue/pqueue.h index 87fc9037c8..26b5348089 100644 --- a/crypto/pqueue/pqueue.h +++ b/crypto/pqueue/pqueue.h @@ -64,6 +64,9 @@ #include <stdlib.h> #include <string.h> +#ifdef __cplusplus +extern "C" { +#endif typedef struct _pqueue *pqueue; typedef struct _pitem @@ -91,4 +94,7 @@ pitem *pqueue_next(piterator *iter); void pqueue_print(pqueue pq); int pqueue_size(pqueue pq); +#ifdef __cplusplus +} +#endif #endif /* ! HEADER_PQUEUE_H */ |