[rtems commit] confdefs.h: Do not hide network file systems

Sebastian Huber sebh at rtems.org
Thu Jun 9 13:05:50 UTC 2016


Module:    rtems
Branch:    master
Commit:    251c94d3d3d27e0039f01b718e5c2eb06f39fdf7
Changeset: http://git.rtems.org/rtems/commit/?id=251c94d3d3d27e0039f01b718e5c2eb06f39fdf7

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jun  9 11:17:13 2016 +0200

confdefs.h: Do not hide network file systems

Do not hide network file systems if RTEMS_NETWORKING is not defined,
since they may be provided by the LibBSD.

---

 cpukit/sapi/include/confdefs.h | 64 ++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 34 deletions(-)

diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index d35aaa4..b75839e 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -402,44 +402,40 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
     { RTEMS_FILESYSTEM_TYPE_DEVFS, devFS_initialize }
 #endif
 
-#ifdef RTEMS_NETWORKING
-  /**
-   * FTPFS
-   */
-  #if !defined(CONFIGURE_FILESYSTEM_ENTRY_FTPFS) && \
-      defined(CONFIGURE_FILESYSTEM_FTPFS)
-    #include <rtems/ftpfs.h>
-    #define CONFIGURE_FILESYSTEM_ENTRY_FTPFS \
-      { RTEMS_FILESYSTEM_TYPE_FTPFS, rtems_ftpfs_initialize }
-  #endif
+/**
+ * FTPFS
+ */
+#if !defined(CONFIGURE_FILESYSTEM_ENTRY_FTPFS) && \
+    defined(CONFIGURE_FILESYSTEM_FTPFS)
+  #include <rtems/ftpfs.h>
+  #define CONFIGURE_FILESYSTEM_ENTRY_FTPFS \
+    { RTEMS_FILESYSTEM_TYPE_FTPFS, rtems_ftpfs_initialize }
+#endif
 
-  /**
-   * TFTPFS
-   */
-  #if !defined(CONFIGURE_FILESYSTEM_ENTRY_TFTPFS) && \
-      defined(CONFIGURE_FILESYSTEM_TFTPFS)
-    #include <rtems/tftp.h>
-    #define CONFIGURE_FILESYSTEM_ENTRY_TFTPFS \
-      { RTEMS_FILESYSTEM_TYPE_TFTPFS, rtems_tftpfs_initialize }
-  #endif
+/**
+ * TFTPFS
+ */
+#if !defined(CONFIGURE_FILESYSTEM_ENTRY_TFTPFS) && \
+    defined(CONFIGURE_FILESYSTEM_TFTPFS)
+  #include <rtems/tftp.h>
+  #define CONFIGURE_FILESYSTEM_ENTRY_TFTPFS \
+    { RTEMS_FILESYSTEM_TYPE_TFTPFS, rtems_tftpfs_initialize }
+#endif
 
-  /**
-   * NFS
-   */
-  #if !defined(CONFIGURE_FILESYSTEM_ENTRY_NFS) && \
-      defined(CONFIGURE_FILESYSTEM_NFS)
-    #include <librtemsNfs.h>
-    #if !defined(CONFIGURE_MAXIMUM_NFS_MOUNTS)
-      #define CONFIGURE_MAXIMUM_NFS_MOUNTS 1
-    #endif
-    #define CONFIGURE_FILESYSTEM_ENTRY_NFS \
-      { RTEMS_FILESYSTEM_TYPE_NFS, rtems_nfs_initialize }
-    #define CONFIGURE_SEMAPHORES_FOR_NFS ((CONFIGURE_MAXIMUM_NFS_MOUNTS * 2) + 1)
-  #else
-    #define CONFIGURE_SEMAPHORES_FOR_NFS 0
+/**
+ * NFS
+ */
+#if !defined(CONFIGURE_FILESYSTEM_ENTRY_NFS) && \
+    defined(CONFIGURE_FILESYSTEM_NFS)
+  #include <librtemsNfs.h>
+  #if !defined(CONFIGURE_MAXIMUM_NFS_MOUNTS)
+    #define CONFIGURE_MAXIMUM_NFS_MOUNTS 1
   #endif
+  #define CONFIGURE_FILESYSTEM_ENTRY_NFS \
+    { RTEMS_FILESYSTEM_TYPE_NFS, rtems_nfs_initialize }
+  #define CONFIGURE_SEMAPHORES_FOR_NFS ((CONFIGURE_MAXIMUM_NFS_MOUNTS * 2) + 1)
 #else
-    #define CONFIGURE_SEMAPHORES_FOR_NFS 0
+  #define CONFIGURE_SEMAPHORES_FOR_NFS 0
 #endif
 
 /**




More information about the vc mailing list