summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/mkrootfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/rtems/mkrootfs.h')
-rw-r--r--cpukit/libnetworking/rtems/mkrootfs.h8
1 files changed, 8 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