]> gcc.gnu.org Git - gcc.git/commitdiff
partition.h: Close the extern "C" scope when compiling with C++.
authorRoger Sayle <roger@eyesopen.com>
Sun, 27 Oct 2002 01:00:34 +0000 (01:00 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sun, 27 Oct 2002 01:00:34 +0000 (01:00 +0000)
* partition.h:  Close the extern "C" scope when compiling with C++.
* getopt.h: Update copyright year from the previous patch.

From-SVN: r58570

include/ChangeLog
include/getopt.h
include/partition.h

index 70942c51168395a14d279f0ff4d40154dbb17633..2eaa1fd2d69de576cc18a5c73b9083791ccec4da 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-26  Roger Sayle  <roger@eyesopen.com>
+
+       * partition.h:  Close the extern "C" scope when compiling with C++.
+
 2002-10-26  Roger Sayle  <roger@eyesopen.com>
            DJ Delorie <dj@redhat.com>
 
index 9495a4846fde8d57623acb48c0a9ff63aeaf7bb6..a99a2290159a9d60cf28c4627cee8cbe28a62a97 100644 (file)
@@ -1,6 +1,6 @@
 /* Declarations for getopt.
-   Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000
-   Free Software Foundation, Inc.
+   Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000,
+   2002 Free Software Foundation, Inc.
 
    NOTE: The canonical source of this file is maintained with the GNU C Library.
    Bugs can be reported to bug-glibc@gnu.org.
index 885a79b4ba3299a52285da16d5f98c754d7063ec..5d3623f716eac5c285523f1cb0425a72ca4e1b2b 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 */
This page took 0.062657 seconds and 5 git commands to generate.