projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d26f6b1
)
(main, tee): More const dcls and casting.
author
Jim Meyering
<jim@meyering.net>
Sat, 24 Sep 1994 16:17:54 +0000
(16:17 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 24 Sep 1994 16:17:54 +0000
(16:17 +0000)
src/tee.c
patch
|
blob
|
history
diff --git
a/src/tee.c
b/src/tee.c
index e9407e8000ab4aa7f9f3f4024032259d29823ff7..b453c2bf285747eeeabed09d6c0cf65218d577ff 100644
(file)
--- 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;
+ c
onst c
har **files;
{
int *descriptors;
char buffer[BUFSIZ];