diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-05-10 20:10:13 +1000 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-05-10 20:10:13 +1000 |
commit | d2a9ddeb6cc58284996fbc5367877c99fee8914e (patch) | |
tree | 187cadb382d0336bbc529cc7ca9e3d1ccd680213 /shell | |
parent | 1fa419fb3c7ef91e878398bb0388854d27d7bd8f (diff) | |
download | busybox-w32-old.tar.gz busybox-w32-old.tar.bz2 busybox-w32-old.zip |
general warning cleanupold
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash_mingw.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
1 | #include "git.h" | ||
2 | |||
1 | extern void trace_printf(const char *format, ...); | 3 | extern void trace_printf(const char *format, ...); |
2 | extern void trace_argv_printf(const char **argv, const char *format, ...); | 4 | extern void trace_argv_printf(const char **argv, const char *format, ...); |
3 | 5 | ||
@@ -18,7 +20,7 @@ static union node *node_recv(int fd); | |||
18 | static inline void | 20 | static inline void |
19 | ser_read(int fd, void *buf, size_t len) | 21 | ser_read(int fd, void *buf, size_t len) |
20 | { | 22 | { |
21 | if (xread(fd, buf, len) != len) | 23 | if (_xread(fd, buf, len) != len) |
22 | die("Corrupted"); | 24 | die("Corrupted"); |
23 | } | 25 | } |
24 | 26 | ||