diff options
author | Rob Landley <rob@landley.net> | 2007-01-08 04:26:01 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-01-08 04:26:01 -0500 |
commit | 3388f4c4de628702ba77e2fec941c809877ad576 (patch) | |
tree | aa118caeb97fa691716aaf3d6089ecba96da9428 /lib/lib.h | |
parent | d3e9d64b17517dcbe0af8b055c1d282e63ba6534 (diff) | |
download | toybox-3388f4c4de628702ba77e2fec941c809877ad576.tar.gz |
xread() and xwrite() should take void *, not char *.
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,8 +46,8 @@ ssize_t reread(int fd, void *buf, size_t count); ssize_t rewrite(int fd, void *buf, size_t count); ssize_t readall(int fd, void *buf, size_t count); ssize_t writeall(int fd, void *buf, size_t count); -void xread(int fd, char *buf, size_t count); -void xwrite(int fd, char *buf, size_t count); +void xread(int fd, void *buf, size_t count); +void xwrite(int fd, void *buf, size_t count); char *xgetcwd(void); char *xabspath(char *path); struct string_list *find_in_path(char *path, char *filename); |