diff options
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 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 */ |