From 6c068566ce195746b0e0b1e28e84d7220cfc58f9 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 9 Jul 2025 01:04:43 -0400 Subject: usr: bin: Make 's' const within atoi() Signed-off-by: Ian Moffett --- lib/libc/src/string/atoi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/src/string/atoi.c') diff --git a/lib/libc/src/string/atoi.c b/lib/libc/src/string/atoi.c index 24943da..920e561 100644 --- a/lib/libc/src/string/atoi.c +++ b/lib/libc/src/string/atoi.c @@ -32,7 +32,7 @@ #define IS_DIGIT(C) ((C >= '0' && C <= '9')) int -atoi(char *s) +atoi(const char *s) { int n, sign; -- cgit v1.2.3