summaryrefslogtreecommitdiffstats
path: root/crypto/pqueue/pqueue.h
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-10-15 17:32:57 +0000
committerjkim <jkim@FreeBSD.org>2014-10-15 17:32:57 +0000
commit9a02b27a6e11c9667427250a26589d17ad31e847 (patch)
tree6195ffd39cd3e0b3d6c711f6531b3e7e13b85b44 /crypto/pqueue/pqueue.h
parent8bd1d6691f94efdce2338dffd823889f6c6b8ed2 (diff)
downloadFreeBSD-src-9a02b27a6e11c9667427250a26589d17ad31e847.zip
FreeBSD-src-9a02b27a6e11c9667427250a26589d17ad31e847.tar.gz
Import OpenSSL 1.0.1j.
Diffstat (limited to 'crypto/pqueue/pqueue.h')
-rw-r--r--crypto/pqueue/pqueue.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/pqueue/pqueue.h b/crypto/pqueue/pqueue.h
index 87fc903..26b5348 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 */
OpenPOWER on IntegriCloud