This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Alpha I noticed: ../sysdeps/unix/sysv/linux/getdents.c:121: warning: implicit declaration of function `__syscall_getdents64' The appended patch fixes this. Please note that I changed the third parameter to match the kernel in fs/readdir.c Ok to commit? Andreas 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. ============================================================ Index: sysdeps/unix/sysv/linux/getdents.c --- sysdeps/unix/sysv/linux/getdents.c 2000/09/13 07:29:13 1.14 +++ sysdeps/unix/sysv/linux/getdents.c 2000/11/28 13:26:28 @@ -48,7 +48,8 @@ #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 -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |