fix(gawk): patch legacy strtod declaration to modern prototype in node.c

This commit is contained in:
vxtls 2026-03-02 10:30:18 -05:00
parent de8378520a
commit 96765e2121

View file

@ -0,0 +1,15 @@
SPDX-License-Identifier: GPL-3.0-or-later
Fix legacy strtod declaration to match modern libc prototype.
--- gawk-4.2.1/node.c
+++ gawk-4.2.1/node.c
@@ -62,7 +62,7 @@
#endif
#ifndef __STDC__
- extern double strtod();
+ extern double strtod(const char *, char **);
#endif
/* r_force_number --- force a value to be numeric */