aboutsummaryrefslogtreecommitdiff
path: root/include/fibheap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fibheap.h')
-rw-r--r--include/fibheap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/fibheap.h b/include/fibheap.h
index 348c4ae2638..74bcfbbb08c 100644
--- a/include/fibheap.h
+++ b/include/fibheap.h
@@ -42,6 +42,10 @@ Boston, MA 02110-1301, USA. */
#include "ansidecl.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef long fibheapkey_t;
typedef struct fibheap
@@ -83,4 +87,8 @@ extern void *fibheap_delete_node (fibheap_t, fibnode_t);
extern void fibheap_delete (fibheap_t);
extern fibheap_t fibheap_union (fibheap_t, fibheap_t);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _FIBHEAP_H_ */