Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-06-01 23:40:32 +0400
committerDJ Delorie <dj@redhat.com>2009-06-01 23:40:32 +0400
commite941ee1180946f48fe117dca80643d625992860d (patch)
tree4bd53e8675a6e6b17097658459ecf62f6bb08744 /include/fibheap.h
parent2838430f1bb75b5ac0ee9758a441948b43afbf86 (diff)
merge from gcc
Diffstat (limited to 'include/fibheap.h')
-rw-r--r--include/fibheap.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/fibheap.h b/include/fibheap.h
index 348c4ae26..a3d09dd9d 100644
--- a/include/fibheap.h
+++ b/include/fibheap.h
@@ -1,5 +1,6 @@
/* A Fibonacci heap datatype.
- Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2009
+ Free Software Foundation, Inc.
Contributed by Daniel Berlin (dan@cgsoftware.com).
This file is part of GCC.
@@ -42,6 +43,10 @@ Boston, MA 02110-1301, USA. */
#include "ansidecl.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef long fibheapkey_t;
typedef struct fibheap
@@ -83,4 +88,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_ */