diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-27 01:00:34 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-27 01:00:34 +0000 |
commit | 45b1e9e31409f69acdc9df45c77a2afae79e9696 (patch) | |
tree | b2f50cc974341962510a6684818b8f8f9cc7386d /include | |
parent | 4a1587e6f52fb79d2128ff78d6566a9bfd4bdcad (diff) | |
download | gcc-45b1e9e31409f69acdc9df45c77a2afae79e9696.tar.gz |
* partition.h: Close the extern "C" scope when compiling with C++.
* getopt.h: Update copyright year from the previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58570 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/getopt.h | 4 | ||||
-rw-r--r-- | include/partition.h | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 70942c51168..2eaa1fd2d69 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,4 +1,8 @@ 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> PR bootstrap/8351 diff --git a/include/getopt.h b/include/getopt.h index 9495a4846fd..a99a2290159 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -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. diff --git a/include/partition.h b/include/partition.h index 885a79b4ba3..5d3623f716e 100644 --- a/include/partition.h +++ b/include/partition.h @@ -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 */ |