[COMMITTED] ada: Fix coding style in init.c

Message ID 20230530072019.2499379-1-poulhies@adacore.com
State Accepted
Headers
Series [COMMITTED] ada: Fix coding style in init.c |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Marc Poulhiès May 30, 2023, 7:20 a.m. UTC
  From: Cedric Landet <landet@adacore.com>

The coding style rules require to avoid using FIXME comments. ??? is
preferred.

gcc/ada/

	* init.c: Replace FIXME by ???

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index 5212a38490d..53ca1421111 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -248,7 +248,7 @@  __gnat_error_handler (int sig,
   switch (sig)
     {
     case SIGSEGV:
-      /* FIXME: we need to detect the case of a *real* SIGSEGV.  */
+      /* ??? we need to detect the case of a *real* SIGSEGV.  */
       exception = &storage_error;
       msg = "stack overflow or erroneous memory access";
       break;
@@ -340,7 +340,7 @@  __gnat_error_handler (int sig, siginfo_t *si ATTRIBUTE_UNUSED, void *ucontext)
   switch (sig)
     {
     case SIGSEGV:
-      /* FIXME: we need to detect the case of a *real* SIGSEGV.  */
+      /* ??? we need to detect the case of a *real* SIGSEGV.  */
       exception = &storage_error;
       msg = "stack overflow or erroneous memory access";
       break;