[PATCH] sptests/sp21: Fix deprecated warning

Aschref Ben-Thabet aschref.ben-thabet at embedded-brains.de
Tue Jul 7 12:24:14 UTC 2020


---
 testsuites/sptests/sp21/init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testsuites/sptests/sp21/init.c b/testsuites/sptests/sp21/init.c
index f44f2ba851..71abe467a9 100644
--- a/testsuites/sptests/sp21/init.c
+++ b/testsuites/sptests/sp21/init.c
@@ -7,6 +7,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
-- 
2.26.2



More information about the devel mailing list