sys/features.h: Spelling _ISOC2x_SOURCE is not C11

Message ID 20241028114039.18767-1-newlib@lenardmollenkopf.de
State New
Headers
Series sys/features.h: Spelling _ISOC2x_SOURCE is not C11 |

Commit Message

Lenard Mollenkopf Oct. 28, 2024, 11:40 a.m. UTC
  ---
 newlib/libc/include/sys/features.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Corinna Vinschen Oct. 28, 2024, 12:56 p.m. UTC | #1
On Oct 28 12:40, Lenard Mollenkopf wrote:
> ---
>  newlib/libc/include/sys/features.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
> index 43c029bf9..00c3bba9c 100644
> --- a/newlib/libc/include/sys/features.h
> +++ b/newlib/libc/include/sys/features.h
> @@ -91,7 +91,7 @@ extern "C" {
>   *	ISO C11
>   *
>   * _ISOC2x_SOURCE or gcc -std=c2x or g++ -std=c++20
> - *	ISO C11
> + *	ISO C2x
>   *
>   * _ATFILE_SOURCE (implied by _POSIX_C_SOURCE >= 200809L)
>   *	"at" functions
> -- 
> 2.47.0

Copy/paste is not always your friend...

Thanks for catching, pushed.


Corinna
  

Patch

diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index 43c029bf9..00c3bba9c 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -91,7 +91,7 @@  extern "C" {
  *	ISO C11
  *
  * _ISOC2x_SOURCE or gcc -std=c2x or g++ -std=c++20
- *	ISO C11
+ *	ISO C2x
  *
  * _ATFILE_SOURCE (implied by _POSIX_C_SOURCE >= 200809L)
  *	"at" functions