diff options
author | Jim Meyering <jim@meyering.net> | 1995-06-11 05:40:05 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-06-11 05:40:05 +0000 |
commit | c3754d6f212bf4bcc318822f98b5148c5f4ef9c0 (patch) | |
tree | 5845a4eed10079fc95b2f55e8438856d5cac02dd | |
parent | a2e52e58b1992bdbf956739fb1599a1265a2edc6 (diff) | |
download | coreutils-c3754d6f212bf4bcc318822f98b5148c5f4ef9c0.tar.xz |
(look_up_char_class, append_char_class, append_equiv_class): Use const
attribute when appropriate.
-rw-r--r-- | src/tr.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -561,7 +561,7 @@ unquote (s, len) static enum Char_class look_up_char_class (class_str, len) - unsigned char *class_str; + const unsigned char *class_str; int len; { unsigned int i; @@ -723,7 +723,7 @@ append_range (list, first, last) static int append_char_class (list, char_class_str, len) struct Spec_list *list; - unsigned char *char_class_str; + const unsigned char *char_class_str; int len; { enum Char_class char_class; @@ -780,7 +780,7 @@ append_repeated_char (list, the_char, repeat_count) static int append_equiv_class (list, equiv_class_str, len) struct Spec_list *list; - unsigned char *equiv_class_str; + const unsigned char *equiv_class_str; int len; { struct List_element *new; |