OSDN Git Service

* partition.h: Close the extern "C" scope when compiling with C++.
[pf3gnuchains/gcc-fork.git] / include / partition.h
index 885a79b..5d3623f 100644 (file)
@@ -78,4 +78,8 @@ extern void partition_print             PARAMS((partition,
 #define partition_find(partition__, element__) \
     ((partition__)->elements[(element__)].class_element)
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif /* _PARTITION_H */