diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-09 01:04:43 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-09 01:05:15 -0400 |
commit | 6c068566ce195746b0e0b1e28e84d7220cfc58f9 (patch) | |
tree | a7d52bd24dfd0eb7ed7da122df406959d34d72df /lib/libc/src/string/atoi.c | |
parent | 37d7d9cb50ac2f4ab02400d293e913905df1cb8d (diff) |
usr: bin: Make 's' const within atoi()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/src/string/atoi.c')
-rw-r--r-- | lib/libc/src/string/atoi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |