diff options
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/mkrootfs.h | 8 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_bsdnet.h | 8 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | 8 |
4 files changed, 29 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 537130b340..ff44b0d7a2 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com> + + * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h, + libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus. + 2007-06-20 Joel Sherrill <joel.sherrill@OARcorp.com> * sapi/include/confdefs.h: Do not instantiate initialization diff --git a/cpukit/libnetworking/rtems/mkrootfs.h b/cpukit/libnetworking/rtems/mkrootfs.h index a0e9cbb0fc..ce07900f2c 100644 --- a/cpukit/libnetworking/rtems/mkrootfs.h +++ b/cpukit/libnetworking/rtems/mkrootfs.h @@ -24,6 +24,10 @@ #ifndef _RTEMS_MKROOTFS_H #define _RTEMS_MKROOTFS_H +#ifdef __cplusplus +extern "C" { +#endif + #include <rtems.h> /* @@ -62,4 +66,8 @@ rtems_rootfs_append_host_rec (unsigned long cip, int rtems_create_root_fs (); +#ifdef __cplusplus +} +#endif + #endif diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet.h b/cpukit/libnetworking/rtems/rtems_bsdnet.h index 059e6be993..0ad1a5f9e2 100644 --- a/cpukit/libnetworking/rtems/rtems_bsdnet.h +++ b/cpukit/libnetworking/rtems/rtems_bsdnet.h @@ -9,6 +9,10 @@ #ifndef _RTEMS_BSDNET_H #define _RTEMS_BSDNET_H +#ifdef __cplusplus +extern "C" { +#endif + #include <rtems.h> /* @@ -276,4 +280,8 @@ void* rtems_bsdnet_malloc_mbuf(size_t size, int type); #define MBUF_MALLOC_MCLREFCNT (1) #define MBUF_MALLOC_MBUF (2) +#ifdef __cplusplus +} +#endif + #endif /* _RTEMS_BSDNET_H */ diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h index 9068113918..c57688506f 100644 --- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h +++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h @@ -12,6 +12,10 @@ #ifndef _RTEMS_RTEMS_BSDNET_INTERNAL_H #define _RTEMS_RTEMS_BSDNET_INTERNAL_H +#ifdef __cplusplus +extern "C" { +#endif + #include <rtems.h> typedef unsigned int vm_offset_t; @@ -196,4 +200,8 @@ int ioctl (int, ioctl_command_t, ...); # error "Network event conflict" #endif +#ifdef __cplusplus +} +#endif + #endif /* _RTEMS_RTEMS_BSDNET_INTERNAL_H */ |