diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-05-02 20:44:44 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-05-02 20:44:44 +0000 |
commit | c7fc4aeb1c193af11604b4a3a1a3cd1ab823a602 (patch) | |
tree | cb43d7582fb19deb565eb28c7f3d2d8659e3bdb1 /gcc/sys-protos.h | |
parent | ee2ce5c0a5117c1eb83258d8b32b9ab2a347fa35 (diff) | |
download | gcc-c7fc4aeb1c193af11604b4a3a1a3cd1ab823a602.tar.gz |
(read, write): Last parm is size_t not unsigned int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7187 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sys-protos.h')
-rw-r--r-- | gcc/sys-protos.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sys-protos.h b/gcc/sys-protos.h index 303538e8119..bf094f976e7 100644 --- a/gcc/sys-protos.h +++ b/gcc/sys-protos.h @@ -858,7 +858,7 @@ extern int raise(int); extern int rand(void); extern long random(void); extern int raw(void); -extern int read(int, void *, unsigned int); +extern int read(int, void *, size_t); extern struct dirent * readdir(DIR *); extern int readlink(const char *, void *, int); extern void * realloc(void *, size_t); @@ -1264,7 +1264,7 @@ extern int wnoutrefresh(WINDOW *); extern int wprintw(WINDOW *, ...); extern int wredrawln(WINDOW *, int, int); extern int wrefresh(WINDOW *); -extern int write(int, const void *, unsigned int); +extern int write(int, const void *, size_t); extern int wscanw(WINDOW *, ...); extern int wscrl(WINDOW *, int); extern int wsetscrreg(WINDOW *, int, int); |