From: Piotr Trojanek Date: Sat, 10 Sep 2022 09:22:55 +0000 (+0200) Subject: ada: Remove unreferenced C macro from OS constants template X-Git-Tag: basepoints/gcc-14~4345 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dda025c9ce1d368f91a379fd31811aec266cc7e9;p=thirdparty%2Fgcc.git ada: Remove unreferenced C macro from OS constants template 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. --- diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c index af6919092d58..53941226771f 100644 --- a/gcc/ada/s-oscons-tmplt.c +++ b/gcc/ada/s-oscons-tmplt.c @@ -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