From d2a9ddeb6cc58284996fbc5367877c99fee8914e Mon Sep 17 00:00:00 2001 From: Nguyễn Thái Ngọc Duy Date: Sun, 10 May 2009 20:10:13 +1000 Subject: general warning cleanup --- shell/ash_mingw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/ash_mingw.c') diff --git a/shell/ash_mingw.c b/shell/ash_mingw.c index a5295532d..a39919439 100644 --- a/shell/ash_mingw.c +++ b/shell/ash_mingw.c @@ -1,3 +1,5 @@ +#include "git.h" + extern void trace_printf(const char *format, ...); extern void trace_argv_printf(const char **argv, const char *format, ...); @@ -18,7 +20,7 @@ static union node *node_recv(int fd); static inline void ser_read(int fd, void *buf, size_t len) { - if (xread(fd, buf, len) != len) + if (_xread(fd, buf, len) != len) die("Corrupted"); } -- cgit v1.2.3-55-g6feb