summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-15 09:48:32 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-16 07:30:00 +0200
commit80cf60efec79ac63cc3a26c6ad8f86790a385847 (patch)
tree313926454bd4564d902b5585d9bb50fec5d17535 /cpukit/libfs/src/rfs
parentlibnetworking: Remove config.h include in header (diff)
downloadrtems-80cf60efec79ac63cc3a26c6ad8f86790a385847.tar.bz2
Canonicalize config.h include
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
Diffstat (limited to '')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-block.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-buffer.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-dir-hash.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-dir.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-file-system.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-file.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-format.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-group.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-inode.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-link.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-mutex.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c4
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-rtems-utils.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-rtems.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-shell.c2
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-trace.c2
21 files changed, 22 insertions, 22 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c b/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c
index 741ae5216c..7d3556f9aa 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c
@@ -18,7 +18,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-block.c b/cpukit/libfs/src/rfs/rtems-rfs-block.c
index 0157b21753..da84d0b56f 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-block.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-block.c
@@ -32,7 +32,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c
index 07fa9c761e..11513bfbfa 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c
@@ -16,7 +16,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c
index 751b8f7515..4537eaf985 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c
@@ -13,7 +13,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
index 4a66840b17..e5e5e7dad9 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c
@@ -13,7 +13,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-dir-hash.c b/cpukit/libfs/src/rfs/rtems-rfs-dir-hash.c
index a0669992d3..75cbef2621 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-dir-hash.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-dir-hash.c
@@ -5,7 +5,7 @@
* @ingroup rtems_rfs
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-dir.c b/cpukit/libfs/src/rfs/rtems-rfs-dir.c
index c9a2772895..09e8782ffc 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-dir.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-dir.c
@@ -23,7 +23,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file-system.c b/cpukit/libfs/src/rfs/rtems-rfs-file-system.c
index 68f0fd87b3..6089bf2d14 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-file-system.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-file-system.c
@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file.c b/cpukit/libfs/src/rfs/rtems-rfs-file.c
index fbf35828db..897cdc1bea 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-file.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-file.c
@@ -15,7 +15,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-format.c b/cpukit/libfs/src/rfs/rtems-rfs-format.c
index 1a9798e804..82387538b4 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-format.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-format.c
@@ -15,7 +15,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-group.c b/cpukit/libfs/src/rfs/rtems-rfs-group.c
index 976bac2d35..1405f2afa3 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-group.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-group.c
@@ -17,7 +17,7 @@
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-inode.c b/cpukit/libfs/src/rfs/rtems-rfs-inode.c
index 57439a03bd..8124b399a2 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-inode.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-inode.c
@@ -15,7 +15,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-link.c b/cpukit/libfs/src/rfs/rtems-rfs-link.c
index 86022d4176..9689a56b09 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-link.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-link.c
@@ -16,7 +16,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-mutex.c b/cpukit/libfs/src/rfs/rtems-rfs-mutex.c
index 9c97c829ed..f05c3e3155 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-mutex.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-mutex.c
@@ -12,7 +12,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c
index 3c69eaa30e..1f28fa9b38 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c
@@ -16,8 +16,8 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
- #include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
#endif
#include "rtems-rfs-rtems.h"
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c
index ab4e56f53d..38e8f3764b 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c
@@ -12,7 +12,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c
index 69e5df2a97..8d94f1c909 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c
@@ -16,7 +16,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems-utils.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems-utils.c
index 509ca50407..61ea42caeb 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-rtems-utils.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems-utils.c
@@ -13,7 +13,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c
index 45455eb85c..c4d3c06067 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c
@@ -16,7 +16,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-shell.c b/cpukit/libfs/src/rfs/rtems-rfs-shell.c
index 3b31385060..a3ad6b24d1 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-shell.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-shell.c
@@ -13,7 +13,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-trace.c b/cpukit/libfs/src/rfs/rtems-rfs-trace.c
index f098ea4807..f2cc2dbae2 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-trace.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-trace.c
@@ -12,7 +12,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif