summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-11-09 23:02:27 +0000
committerJim Meyering <jim@meyering.net>1995-11-09 23:02:27 +0000
commitb951477c8028a34d085c32a0e69d8c5700a14e45 (patch)
tree3be486336fac210e11b25597acd2d9c8ddb7aa10 /src
parent0bf332a016325b90b43907a7dceaf1d95740ae92 (diff)
downloadcoreutils-b951477c8028a34d085c32a0e69d8c5700a14e45.tar.xz
(translate_charset): Make parameter `const'.
Diffstat (limited to 'src')
-rw-r--r--src/dd.c4
1 files changed, 2 insertions, 2 deletions
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;