aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/s-oscons-tmplt.c
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2022-09-10 11:22:55 +0200
committerMarc Poulhiès <poulhies@adacore.com>2022-09-26 11:02:31 +0200
commitdda025c9ce1d368f91a379fd31811aec266cc7e9 (patch)
tree360504927361f65f58fa9ac413d9e4e1e3671ad4 /gcc/ada/s-oscons-tmplt.c
parentc381ccdf0642d90f1f5ad07bcfc844a7c6037bea (diff)
downloadgcc-dda025c9ce1d368f91a379fd31811aec266cc7e9.zip
gcc-dda025c9ce1d368f91a379fd31811aec266cc7e9.tar.gz
gcc-dda025c9ce1d368f91a379fd31811aec266cc7e9.tar.bz2
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.
Diffstat (limited to 'gcc/ada/s-oscons-tmplt.c')
-rw-r--r--gcc/ada/s-oscons-tmplt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c
index af69190..5394122 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