about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-02-01 17:55:57 +0000
committerJoseph Myers <josmyers@redhat.com>2024-02-01 17:55:57 +0000
commit83d8d289b295406e30bc8a079286b093d552c3a5 (patch)
treece6dfd0900446539437d31ea7bf32b44f2169a9e /stdlib
parentc62b6265a641aaec4b0fa1b3fe622c2edf9c3821 (diff)
downloadglibc-83d8d289b295406e30bc8a079286b093d552c3a5.tar.gz
glibc-83d8d289b295406e30bc8a079286b093d552c3a5.tar.xz
glibc-83d8d289b295406e30bc8a079286b093d552c3a5.zip
Rename c2x / gnu2x tests to c23 / gnu23
Complete the internal renaming from "C2X" and related names in GCC by
renaming *-c2x and *-gnu2x tests to *-c23 and *-gnu23.

Tested for x86_64, and with build-many-glibcs.py for powerpc64le.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/Makefile8
-rw-r--r--stdlib/tst-strtol-binary-c23.c (renamed from stdlib/tst-strtol-binary-c2x.c)0
-rw-r--r--stdlib/tst-strtol-binary-gnu23.c (renamed from stdlib/tst-strtol-binary-gnu2x.c)0
3 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index e9f9c7856d..8b0ac63ddb 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -337,9 +337,9 @@ tests := \
   tst-strtod6 \
   tst-strtol \
   tst-strtol-binary-c11 \
-  tst-strtol-binary-c2x \
+  tst-strtol-binary-c23 \
   tst-strtol-binary-gnu11 \
-  tst-strtol-binary-gnu2x \
+  tst-strtol-binary-gnu23 \
   tst-strtol-locale \
   tst-strtoll \
   tst-swapcontext1 \
@@ -527,9 +527,9 @@ CFLAGS-testmb.c += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Werror
 # (added in GCC 9), so the tests for those versions use -std=c11 and -std=gnu11
 # and then _ISOC23_SOURCE is defined in the test as needed.
 CFLAGS-tst-strtol-binary-c11.c += -std=c11
-CFLAGS-tst-strtol-binary-c2x.c += -std=c11
+CFLAGS-tst-strtol-binary-c23.c += -std=c11
 CFLAGS-tst-strtol-binary-gnu11.c += -std=gnu11
-CFLAGS-tst-strtol-binary-gnu2x.c += -std=gnu11
+CFLAGS-tst-strtol-binary-gnu23.c += -std=gnu11
 
 
 # Run a test on the header files we use.
diff --git a/stdlib/tst-strtol-binary-c2x.c b/stdlib/tst-strtol-binary-c23.c
index 5e2b6dd6a0..5e2b6dd6a0 100644
--- a/stdlib/tst-strtol-binary-c2x.c
+++ b/stdlib/tst-strtol-binary-c23.c
diff --git a/stdlib/tst-strtol-binary-gnu2x.c b/stdlib/tst-strtol-binary-gnu23.c
index 7732025dab..7732025dab 100644
--- a/stdlib/tst-strtol-binary-gnu2x.c
+++ b/stdlib/tst-strtol-binary-gnu23.c