diff options
Diffstat (limited to 'coreutils/expr.c')
| -rw-r--r-- | coreutils/expr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/expr.c b/coreutils/expr.c index 51e553dc6..469d467bf 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c | |||
| @@ -67,8 +67,8 @@ static char **args; | |||
| 67 | static VALUE *docolon(VALUE * sv, VALUE * pv); | 67 | static VALUE *docolon(VALUE * sv, VALUE * pv); |
| 68 | static VALUE *eval(void); | 68 | static VALUE *eval(void); |
| 69 | static VALUE *int_value(arith_t i); | 69 | static VALUE *int_value(arith_t i); |
| 70 | static VALUE *str_value(char *s); | 70 | static VALUE *str_value(const char *s); |
| 71 | static int nextarg(char *str); | 71 | static int nextarg(const char *str); |
| 72 | static int null(VALUE * v); | 72 | static int null(VALUE * v); |
| 73 | static int toarith(VALUE * v); | 73 | static int toarith(VALUE * v); |
| 74 | static void freev(VALUE * v); | 74 | static void freev(VALUE * v); |
| @@ -110,7 +110,7 @@ static VALUE *int_value(arith_t i) | |||
| 110 | 110 | ||
| 111 | /* Return a VALUE for S. */ | 111 | /* Return a VALUE for S. */ |
| 112 | 112 | ||
| 113 | static VALUE *str_value(char *s) | 113 | static VALUE *str_value(const char *s) |
| 114 | { | 114 | { |
| 115 | VALUE *v; | 115 | VALUE *v; |
| 116 | 116 | ||
| @@ -172,7 +172,7 @@ static int toarith(VALUE * v) | |||
| 172 | /* Return nonzero if the next token matches STR exactly. | 172 | /* Return nonzero if the next token matches STR exactly. |
| 173 | STR must not be NULL. */ | 173 | STR must not be NULL. */ |
| 174 | 174 | ||
| 175 | static int nextarg(char *str) | 175 | static int nextarg(const char *str) |
| 176 | { | 176 | { |
| 177 | if (*args == NULL) | 177 | if (*args == NULL) |
| 178 | return 0; | 178 | return 0; |
