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;
