gm2: Add missing declaration of m2pim_M2RTS_Terminate to test

Message ID 874jhp3nwf.fsf@oldenburg.str.redhat.com
State Accepted
Headers
Series gm2: Add missing declaration of m2pim_M2RTS_Terminate to test |

Checks

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

Commit Message

Florian Weimer Nov. 13, 2023, 11:15 a.m. UTC
  Needed for C99 testsuite compatibility.

gcc/testsuite/

	* gm2/link/externalscaffold/pass/scaffold.c (m2pim_M2RTS_Terminate):
	Declare.

---
 gcc/testsuite/gm2/link/externalscaffold/pass/scaffold.c | 1 +
 1 file changed, 1 insertion(+)


base-commit: 9d471cd993e47dcbe91946beb529134565c58185
  

Patch

diff --git a/gcc/testsuite/gm2/link/externalscaffold/pass/scaffold.c b/gcc/testsuite/gm2/link/externalscaffold/pass/scaffold.c
index 2bd3587f6c7..2df0368b983 100644
--- a/gcc/testsuite/gm2/link/externalscaffold/pass/scaffold.c
+++ b/gcc/testsuite/gm2/link/externalscaffold/pass/scaffold.c
@@ -6,6 +6,7 @@  extern  void m2pim_M2_M2RTS_init (int argc, char *argv[]);
 extern  void m2pim_M2_M2RTS_fini (void);
 extern  void m2pim_M2_RTExceptions_init (int argc, char *argv[]);
 extern  void m2pim_M2_RTExceptions_fini (void);
+extern  void m2pim_M2RTS_Terminate (void);
 extern  void _M2_hello_init (int argc, char *argv[]);
 extern  void _M2_hello_fini (void);