[PATCH 2/3] cpukit: Change _COMPILING_NEWLIB to _LIBC for helper functions decls
chrisj at rtems.org
chrisj at rtems.org
Tue Jun 14 01:24:07 UTC 2022
From: Chris Johns <chrisj at rtems.org>
Updates #4662
---
cpukit/libcsupport/src/__times.c | 4 ++--
cpukit/posix/src/_execve.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cpukit/libcsupport/src/__times.c b/cpukit/libcsupport/src/__times.c
index 629a7bc633..14625b5aae 100644
--- a/cpukit/libcsupport/src/__times.c
+++ b/cpukit/libcsupport/src/__times.c
@@ -38,9 +38,9 @@
#endif
/*
- * Needed to get the prototype for this newlib helper method
+ * Needed to get the prototype for this libc helper method
*/
-#define _COMPILING_NEWLIB
+#define _LIBC
#include <rtems.h>
diff --git a/cpukit/posix/src/_execve.c b/cpukit/posix/src/_execve.c
index 2858d13082..63afadec43 100644
--- a/cpukit/posix/src/_execve.c
+++ b/cpukit/posix/src/_execve.c
@@ -43,9 +43,9 @@
#endif
/*
- * Needed to get the prototype for this newlib helper method
+ * Needed to get the prototype for this libc helper method
*/
-#define _COMPILING_NEWLIB
+#define _LIBC
#include <errno.h>
#include <rtems/seterr.h>
--
2.19.1
More information about the devel
mailing list