From: Jim Meyering Date: Sat, 24 Sep 1994 16:17:54 +0000 (+0000) Subject: (main, tee): More const dcls and casting. X-Git-Tag: textutils-1_12_1~593 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d74506f216067002e57098310809b4f948d828d;p=thirdparty%2Fcoreutils.git (main, tee): More const dcls and casting. --- diff --git a/src/tee.c b/src/tee.c index e9407e8000..b453c2bf28 100644 --- a/src/tee.c +++ b/src/tee.c @@ -143,7 +143,7 @@ main (argc, argv) #endif /* _POSIX_VERSION */ } - errs = tee (argc - optind, &argv[optind]); + errs = tee (argc - optind, (const char **) &argv[optind]); if (close (0) != 0) error (1, errno, "standard input"); if (close (1) != 0) @@ -158,7 +158,7 @@ main (argc, argv) static int tee (nfiles, files) int nfiles; - char **files; + const char **files; { int *descriptors; char buffer[BUFSIZ];