X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=include%2Ffibheap.h;fp=include%2Ffibheap.h;h=a3d09dd9db8d70f1e4f9468f95243686f315ea7f;hp=348c4ae2638987404652212f007b63d8be6be364;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/include/fibheap.h b/include/fibheap.h index 348c4ae..a3d09dd 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_ */