[COMMITED] ada: Remove unreferenced C macro from OS constants template

Message ID 20220926091531.273721-1-poulhies@adacore.com
State New, archived
Headers
Series [COMMITED] ada: Remove unreferenced C macro from OS constants template |

Commit Message

Marc Poulhiès Sept. 26, 2022, 9:15 a.m. UTC
  From: Piotr Trojanek <trojanek@adacore.com>

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 | 3 ---
 1 file changed, 3 deletions(-)
  

Patch

diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c
index af6919092d5..53941226771 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