From b951477c8028a34d085c32a0e69d8c5700a14e45 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 9 Nov 1995 23:02:27 +0000 Subject: (translate_charset): Make parameter `const'. --- src/dd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dd.c b/src/dd.c index afa9fb33d..37494a14a 100644 --- a/src/dd.c +++ b/src/dd.c @@ -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; -- cgit v1.2.3-70-g09d2