summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/src/flockfile.c2
-rw-r--r--cpukit/libcsupport/src/ftrylockfile.c2
-rw-r--r--cpukit/libcsupport/src/funlockfile.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/flockfile.c b/cpukit/libcsupport/src/flockfile.c
index 511badd219..e924b4e71d 100644
--- a/cpukit/libcsupport/src/flockfile.c
+++ b/cpukit/libcsupport/src/flockfile.c
@@ -16,7 +16,7 @@
#include "config.h"
#endif
-#if defined(RTEMS_NEWLIB) && !defined(HAVE_FLOCKFILE) && defined(HAVE_DECL_FLOCKFILE)
+#if defined(RTEMS_NEWLIB) && !defined(HAVE_FLOCKFILE)
#include <stdio.h>
diff --git a/cpukit/libcsupport/src/ftrylockfile.c b/cpukit/libcsupport/src/ftrylockfile.c
index bc567e49a7..6b62396b74 100644
--- a/cpukit/libcsupport/src/ftrylockfile.c
+++ b/cpukit/libcsupport/src/ftrylockfile.c
@@ -10,7 +10,7 @@
#include "config.h"
#endif
-#if defined(RTEMS_NEWLIB) && !defined(HAVE_FTRYLOCKFILE) && defined(HAVE_DECL_FTRYLOCKFILE)
+#if defined(RTEMS_NEWLIB) && !defined(HAVE_FTRYLOCKFILE)
#include <stdio.h>
#include <rtems/seterr.h>
diff --git a/cpukit/libcsupport/src/funlockfile.c b/cpukit/libcsupport/src/funlockfile.c
index bf409da8a3..3c1efff7a6 100644
--- a/cpukit/libcsupport/src/funlockfile.c
+++ b/cpukit/libcsupport/src/funlockfile.c
@@ -17,7 +17,7 @@
#include "config.h"
#endif
-#if defined(RTEMS_NEWLIB) && !defined(HAVE_FUNLOCKFILE) && defined(HAVE_DECL_FUNLOCKFILE)
+#if defined(RTEMS_NEWLIB) && !defined(HAVE_FUNLOCKFILE)
#include <stdio.h>