[PATCH] strtodg: Make increment static
Zakaria Fadli <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
This helper is only used within strtodg.c; keep it internal to avoid
exporting a generic symbol name and reduce namespace pollution.
* libc/stdlib/strtodg.c (increment): Make static.
---
newlib/libc/stdlib/strtodg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/newlib/libc/stdlib/strtodg.c b/newlib/libc/stdlib/strtodg.c
index 0b5af99fe..4e706abd1 100644
--- a/newlib/libc/stdlib/strtodg.c
+++ b/newlib/libc/stdlib/strtodg.c
@@ -159,7 +159,7 @@ trailz (_Bigint *b)
return n;
}
-_Bigint *
+static _Bigint *
increment (struct _reent *p, _Bigint *b)
{
__ULong *x, *xe;
--
2.43.0