diff options
author | Jilles Tjoelker <jilles@FreeBSD.org> | 2009-12-24 18:41:14 +0000 |
---|---|---|
committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2009-12-24 18:41:14 +0000 |
commit | 2cac6e364a22fbb88eff4a1d36a09fef0064b421 (patch) | |
tree | 3810323287749c3a09fadeeed64429a5bf2fbb4d /bin/sh/arith.h | |
parent | b4c170e1f58feb50951b5453cfba4007a3ee18ff (diff) | |
download | src-2cac6e364a22fbb88eff4a1d36a09fef0064b421.tar.gz src-2cac6e364a22fbb88eff4a1d36a09fef0064b421.zip |
sh: Constify various strings.
Most of this is adding const keywords, but setvar() in var.c had to be
changed somewhat more.
Notes
Notes:
svn path=/head/; revision=200956
Diffstat (limited to 'bin/sh/arith.h')
-rw-r--r-- | bin/sh/arith.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/arith.h b/bin/sh/arith.h index 41bc76fa2c7e..6a143a4c2eb1 100644 --- a/bin/sh/arith.h +++ b/bin/sh/arith.h @@ -34,8 +34,8 @@ #define DIGITS(var) (3 + (2 + CHAR_BIT * sizeof((var))) / 3) -extern char *arith_buf, *arith_startbuf; +extern const char *arith_buf, *arith_startbuf; -arith_t arith(char *); +arith_t arith(const char *); void arith_lex_reset(void); int expcmd(int, char **); |