diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.c | 6 | ||||
-rw-r--r-- | src/utils.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/utils.c b/src/utils.c index 8247a2d..5bfbf5a 100644 --- a/src/utils.c +++ b/src/utils.c @@ -10,7 +10,7 @@ #include "utils.h" signed -parse_int(char *string, char *arg) +parse_int(char *string, const char *arg) { errno = 0; char *endptr; @@ -32,7 +32,7 @@ parse_int(char *string, char *arg) } unsigned -parse_uint(char *string, char *arg) +parse_uint(char *string, const char *arg) { errno = 0; char *endptr; @@ -54,7 +54,7 @@ parse_uint(char *string, char *arg) } double -parse_double(char *string, char *arg) +parse_double(char *string, const char *arg) { errno = 0; char *endptr; diff --git a/src/utils.h b/src/utils.h index 86d77ea..eb0fb40 100644 --- a/src/utils.h +++ b/src/utils.h @@ -5,13 +5,13 @@ /// Prototypes signed -parse_int(char *string, char *arg); +parse_int(char *string, const char *arg); unsigned -parse_uint(char *string, char *arg); +parse_uint(char *string, const char *arg); double -parse_double(char *string, char *arg); +parse_double(char *string, const char *arg); bool parse_color(char *hex, Color *color, signed alpha); |