chore: reduce debt for args

This commit is contained in:
2025-11-10 16:05:15 +01:00
parent 4405203459
commit 1c737f4ac6
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ unsigned int string_trim(char *str) {
static bool is_digit(char c) { return c >= '0' && c <= '9'; }
bool string_is_number(char *value) {
bool string_is_number(const char *value) {
unsigned long value_len;
if (value == NULL) {
@@ -57,8 +57,8 @@ bool string_is_number(char *value) {
return true;
}
char *string_replace_at(char *src, unsigned int from, unsigned int to,
char *rpl) {
char *string_replace_at(const char *src, unsigned int from, unsigned int to,
const char *rpl) {
unsigned long src_len, rpl_len;
char *dst;