summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2022-06-14 11:21:46 +1000
committerChris Johns <chrisj@rtems.org>2022-06-15 13:00:48 +1000
commit0cf0914efef17832ac963cc144f7288845d9b883 (patch)
tree040002e1a180b73f427a5ef41aff12ea13284088 /cpukit/posix
parentscore/cpu: Silence ARM and AARCH64 GCC 12 false trigger array warning (diff)
downloadrtems-0cf0914efef17832ac963cc144f7288845d9b883.tar.bz2
cpukit: Change _COMPILING_NEWLIB to _LIBC for helper functions decls
Updates #4662
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/_execve.c4
1 files changed, 2 insertions, 2 deletions
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>