From 0cf0914efef17832ac963cc144f7288845d9b883 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 14 Jun 2022 11:21:46 +1000 Subject: cpukit: Change _COMPILING_NEWLIB to _LIBC for helper functions decls Updates #4662 --- cpukit/libcsupport/src/__gettod.c | 2 +- cpukit/libcsupport/src/__times.c | 4 ++-- cpukit/posix/src/_execve.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'cpukit') diff --git a/cpukit/libcsupport/src/__gettod.c b/cpukit/libcsupport/src/__gettod.c index 610f2c4d4a..b43081c9eb 100644 --- a/cpukit/libcsupport/src/__gettod.c +++ b/cpukit/libcsupport/src/__gettod.c @@ -41,7 +41,7 @@ /* * Needed to get the prototype for the newlib helper method */ -#define _COMPILING_NEWLIB +#define _LIBC #include #include 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 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 #include -- cgit v1.2.3