From a6957b7847531a8fe392e0cde14e732bd9f520b3 Mon Sep 17 00:00:00 2001 From: Tomas Hruby Date: Tue, 23 Mar 2010 13:36:16 +0000 Subject: [PATCH] Fixed prototype in cat --- commands/simple/cat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/simple/cat.c b/commands/simple/cat.c index 2931be2fc..a16af02c1 100644 --- a/commands/simple/cat.c +++ b/commands/simple/cat.c @@ -20,7 +20,7 @@ static char ibuf[CHUNK_SIZE]; static char obuf[CHUNK_SIZE]; static char *op = obuf; -static void copyout(char *file, int fd); +static void copyout(const char *file, int fd); static void output(char *buf, size_t count); static void report(const char *label); static void fatal(const char *label); -- 2.44.0