summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-06-21 15:32:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-06-21 15:32:37 +0000
commit4ab3a29bb5f58504963d18f47a191ef8c0dc9555 (patch)
tree2db8494c326223fd316881bc000bc629cd288ab1 /cpukit/libnetworking
parent2007-06-20 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-4ab3a29bb5f58504963d18f47a191ef8c0dc9555.tar.bz2
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.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/rtems/mkrootfs.h8
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet.h8
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet_internal.h8
3 files changed, 24 insertions, 0 deletions
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 */