diff options
author | Andreas Jaeger <aj@suse.de> | 2000-11-30 17:42:48 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-11-30 17:42:48 +0000 |
commit | 559dce193e8ffe6fabccd893eb802417e754a597 (patch) | |
tree | 3fa4ae76f9efc7c5df061371033be0155c1492e7 /sysdeps/unix/sysv/linux | |
parent | a0f5c800f3ec1d82c3115337e6217423f185e1fd (diff) | |
download | glibc-559dce193e8ffe6fabccd893eb802417e754a597.tar.gz glibc-559dce193e8ffe6fabccd893eb802417e754a597.tar.xz glibc-559dce193e8ffe6fabccd893eb802417e754a597.zip |
Update.
2000-11-28 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64 declaration, adjust declaration of __syscall_getdents to match kernel.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/getdents.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/getdents.c b/sysdeps/unix/sysv/linux/getdents.c index fc55c27ebf..78dea244fd 100644 --- a/sysdeps/unix/sysv/linux/getdents.c +++ b/sysdeps/unix/sysv/linux/getdents.c @@ -48,7 +48,8 @@ extern int __have_no_getdents64; #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) -extern int __syscall_getdents (int fd, char *__unbounded buf, size_t nbytes); +extern int __syscall_getdents (int fd, char *__unbounded buf, unsigned int nbytes); +extern int __syscall_getdents64 (int fd, char *__unbounded buf, unsigned int nbytes); /* For Linux we need a special version of this file since the definition of `struct dirent' is not the same for the kernel and |