]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Remove unreferenced C macro from OS constants template
authorPiotr Trojanek <trojanek@adacore.com>
Sat, 10 Sep 2022 09:22:55 +0000 (11:22 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 26 Sep 2022 09:02:31 +0000 (11:02 +0200)
The STR/STR1 macros in OS constants template has been unreferenced since
2005, so we can safely remove them.

gcc/ada/

* s-oscons-tmplt.c (STR, STR1): Remove.

gcc/ada/s-oscons-tmplt.c

index af6919092d58d5cce89130c4da62da3844b1d252..53941226771fd37b8514aba6f3ec61966df64794 100644 (file)
@@ -237,9 +237,6 @@ int counter = 0;
 #define CST(name,comment) C(#name,String,name,comment)
 /* String constant */
 
-#define STR(x) STR1(x)
-#define STR1(x) #x
-
 #ifdef __MINGW32__
 unsigned int _CRT_fmode = _O_BINARY;
 #endif