From a0287cac7fa016fc9d8916f9a6d638afdf894f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Tue, 20 Aug 2024 10:01:35 +0200 Subject: [PATCH] scripts: coccinelle: add errno as a reserved name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit errno is defined by the ISO C standard to be a modifiable lvalue of type int, and **must not be explicitly declared** Signed-off-by: Benjamin Cabé --- scripts/coccinelle/symbols.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/coccinelle/symbols.txt b/scripts/coccinelle/symbols.txt index 02bd93e0dcc..e0c1424264c 100644 --- a/scripts/coccinelle/symbols.txt +++ b/scripts/coccinelle/symbols.txt @@ -31,6 +31,7 @@ difftime64 div erf erfc +errno exit exp fabs