From ab6d08ffc1a6656492df0583b406c3a9b494f7a4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 19 Mar 2001 13:08:20 +0000 Subject: 2001-03-19 Joel Sherrill * sys/utsname.h: Added C++ wrapper. --- c/src/exec/libcsupport/include/sys/utsname.h | 7 +++++++ c/src/exec/posix/ChangeLog | 4 ++++ c/src/exec/posix/include/sys/utsname.h | 7 +++++++ c/src/lib/include/sys/utsname.h | 7 +++++++ cpukit/libcsupport/include/sys/utsname.h | 7 +++++++ cpukit/posix/ChangeLog | 4 ++++ 6 files changed, 36 insertions(+) diff --git a/c/src/exec/libcsupport/include/sys/utsname.h b/c/src/exec/libcsupport/include/sys/utsname.h index ca15230d40..70d6dfc7cf 100644 --- a/c/src/exec/libcsupport/include/sys/utsname.h +++ b/c/src/exec/libcsupport/include/sys/utsname.h @@ -6,6 +6,10 @@ #ifndef __POSIX_SYS_UTSNAME_h #define __POSIX_SYS_UTSNAME_h +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -44,6 +48,9 @@ clock_t times( struct tms *buffer ); +#ifdef __cplusplus +} +#endif #endif /* end of include file */ diff --git a/c/src/exec/posix/ChangeLog b/c/src/exec/posix/ChangeLog index 56481843ec..7f60d13bdf 100644 --- a/c/src/exec/posix/ChangeLog +++ b/c/src/exec/posix/ChangeLog @@ -1,3 +1,7 @@ +2001-03-19 Joel Sherrill + + * sys/utsname.h: Added C++ wrapper. + 2001-02-03 Ralf Corsepius * include/Makefile.am, include/rtems/posix/Makefile.am, diff --git a/c/src/exec/posix/include/sys/utsname.h b/c/src/exec/posix/include/sys/utsname.h index ca15230d40..70d6dfc7cf 100644 --- a/c/src/exec/posix/include/sys/utsname.h +++ b/c/src/exec/posix/include/sys/utsname.h @@ -6,6 +6,10 @@ #ifndef __POSIX_SYS_UTSNAME_h #define __POSIX_SYS_UTSNAME_h +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -44,6 +48,9 @@ clock_t times( struct tms *buffer ); +#ifdef __cplusplus +} +#endif #endif /* end of include file */ diff --git a/c/src/lib/include/sys/utsname.h b/c/src/lib/include/sys/utsname.h index ca15230d40..70d6dfc7cf 100644 --- a/c/src/lib/include/sys/utsname.h +++ b/c/src/lib/include/sys/utsname.h @@ -6,6 +6,10 @@ #ifndef __POSIX_SYS_UTSNAME_h #define __POSIX_SYS_UTSNAME_h +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -44,6 +48,9 @@ clock_t times( struct tms *buffer ); +#ifdef __cplusplus +} +#endif #endif /* end of include file */ diff --git a/cpukit/libcsupport/include/sys/utsname.h b/cpukit/libcsupport/include/sys/utsname.h index ca15230d40..70d6dfc7cf 100644 --- a/cpukit/libcsupport/include/sys/utsname.h +++ b/cpukit/libcsupport/include/sys/utsname.h @@ -6,6 +6,10 @@ #ifndef __POSIX_SYS_UTSNAME_h #define __POSIX_SYS_UTSNAME_h +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -44,6 +48,9 @@ clock_t times( struct tms *buffer ); +#ifdef __cplusplus +} +#endif #endif /* end of include file */ diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog index 56481843ec..7f60d13bdf 100644 --- a/cpukit/posix/ChangeLog +++ b/cpukit/posix/ChangeLog @@ -1,3 +1,7 @@ +2001-03-19 Joel Sherrill + + * sys/utsname.h: Added C++ wrapper. + 2001-02-03 Ralf Corsepius * include/Makefile.am, include/rtems/posix/Makefile.am, -- cgit v1.2.3