diff options
author | Jim Meyering <jim@meyering.net> | 1995-11-09 23:02:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-11-09 23:02:27 +0000 |
commit | b951477c8028a34d085c32a0e69d8c5700a14e45 (patch) | |
tree | 3be486336fac210e11b25597acd2d9c8ddb7aa10 /src | |
parent | 0bf332a016325b90b43907a7dceaf1d95740ae92 (diff) | |
download | coreutils-b951477c8028a34d085c32a0e69d8c5700a14e45.tar.xz |
(translate_charset): Make parameter `const'.
Diffstat (limited to 'src')
-rw-r--r-- | src/dd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -105,7 +105,7 @@ static void copy_with_block (unsigned char *buf, int nread); static void copy_with_unblock (unsigned char *buf, int nread); static void parse_conversion (char *str); static void print_stats (void); -static void translate_charset (unsigned char *new_trans); +static void translate_charset (const unsigned char *new_trans); static void quit (int code); static void scanargs (int argc, char **argv); static void skip (int fdesc, char *file, long int records, long int blocksize, char *buf); @@ -1008,7 +1008,7 @@ only one conv in {ascii,ebcdic,ibm}, {lcase,ucase}, {block,unblock}, {unblock,sy } static void -translate_charset (unsigned char *new_trans) +translate_charset (const unsigned char *new_trans) { int i; |