partition.h: Close the extern "C" scope when compiling with C++.

* partition.h:  Close the extern "C" scope when compiling with C++.
	* getopt.h: Update copyright year from the previous patch.

From-SVN: r58570
This commit is contained in:
Roger Sayle 2002-10-27 01:00:34 +00:00 committed by Roger Sayle
parent f416dcd5bf
commit 45329aca77
3 changed files with 10 additions and 2 deletions

View 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> 2002-10-26 Roger Sayle <roger@eyesopen.com>
DJ Delorie <dj@redhat.com> DJ Delorie <dj@redhat.com>

View File

@ -1,6 +1,6 @@
/* Declarations for getopt. /* Declarations for getopt.
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000 Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000,
Free Software Foundation, Inc. 2002 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library. NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to bug-glibc@gnu.org. Bugs can be reported to bug-glibc@gnu.org.

View File

@ -78,4 +78,8 @@ extern void partition_print PARAMS((partition,
#define partition_find(partition__, element__) \ #define partition_find(partition__, element__) \
((partition__)->elements[(element__)].class_element) ((partition__)->elements[(element__)].class_element)
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _PARTITION_H */ #endif /* _PARTITION_H */