diff options
Diffstat (limited to 'win/cat.c')
| -rw-r--r-- | win/cat.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -7,8 +7,6 @@ * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) $Id: cat.c,v 1.2 1998/09/14 18:40:19 stanton Exp $ */ #include <stdio.h> @@ -16,11 +14,11 @@ #include <string.h> int -main() -{ +main(void) +{ char buf[1024]; int n; - char *err; + const char *err; while (1) { n = read(0, buf, sizeof(buf)); @@ -34,4 +32,3 @@ main() return 0; } - |
