[newlib-cygwin/main] strtodg: Make increment static

Jeff Johnston jjohnstn@sourceware.org
Mon Nov 3 19:44:37 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=685c49b7f72be8ff7a7081f2de27de60d8fa8ae6

commit 685c49b7f72be8ff7a7081f2de27de60d8fa8ae6
Author: Zakaria Fadli <fadli@adacore.com>
Date:   Tue Oct 28 15:35:37 2025 +0100

    strtodg: Make increment static
    
    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.

Diff:
---
 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;


More information about the Newlib-cvs mailing list