From: Tomas Hruby Date: Tue, 23 Mar 2010 13:36:16 +0000 (+0000) Subject: Fixed prototype in cat X-Git-Tag: v3.1.7~209 X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.ch01.html?a=commitdiff_plain;h=a6957b7847531a8fe392e0cde14e732bd9f520b3;p=minix.git Fixed prototype in cat --- 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);