diff options
author | Jim Meyering <jim@meyering.net> | 1994-09-24 16:17:54 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-09-24 16:17:54 +0000 |
commit | 3d74506f216067002e57098310809b4f948d828d (patch) | |
tree | edfd9d53069f31dc8a4a46691f42612a01252379 /src | |
parent | d26f6b179683d5fd38cae92ab3588263663eea26 (diff) | |
download | coreutils-3d74506f216067002e57098310809b4f948d828d.tar.xz |
(main, tee): More const dcls and casting.
Diffstat (limited to 'src')
-rw-r--r-- | src/tee.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]; |