From 93f6700be744091498ed7000f2580903fd04f100 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Thu, 24 May 2018 19:09:23 +0800 Subject: [PATCH] newlib: fix errors for GCC 8 support components/newlib/include/sys/reent.h:405:11: error: unnecessary parentheses in declaration of '_sig_func' [-Werror=parentheses] void (**(_sig_func))(int); ^ --- components/newlib/include/sys/reent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/newlib/include/sys/reent.h b/components/newlib/include/sys/reent.h index ee40961894..b35595a7d4 100644 --- a/components/newlib/include/sys/reent.h +++ b/components/newlib/include/sys/reent.h @@ -402,7 +402,7 @@ struct _reent char *_asctime_buf; /* signal info */ - void (**(_sig_func))(int); + void (**_sig_func)(int); # ifndef _REENT_GLOBAL_ATEXIT /* atexit stuff */ -- 2.40.0