diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-01-17 11:42:36 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-01-17 11:42:36 +0000 |
commit | b3acfdf7924e1be0066ad8dc0b0eb445ac7380f1 (patch) | |
tree | 78308657222b724a8161367739d12d38a296e5d2 | |
parent | 1476bce6ff733ec230ee03d7e7c2dae21cc3f6ed (diff) | |
download | glibc-b3acfdf7924e1be0066ad8dc0b0eb445ac7380f1.tar.gz glibc-b3acfdf7924e1be0066ad8dc0b0eb445ac7380f1.tar.xz glibc-b3acfdf7924e1be0066ad8dc0b0eb445ac7380f1.zip |
* sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.
2007-01-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/getdents.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 32f9044fe2..99098ab2d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-01-17 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. + 2007-01-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to diff --git a/sysdeps/unix/sysv/linux/getdents.c b/sysdeps/unix/sysv/linux/getdents.c index 836cbf3922..b33d1789ad 100644 --- a/sysdeps/unix/sysv/linux/getdents.c +++ b/sysdeps/unix/sysv/linux/getdents.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1993, 1995-2003, 2004, 2006 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995-2003, 2004, 2006, 2007 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -50,8 +51,6 @@ extern int __have_no_getdents64 attribute_hidden; # define __have_no_getdents64 0 #endif -#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) - /* For Linux we need a special version of this file since the definition of `struct dirent' is not the same for the kernel and the libc. There is one additional field which might be introduced |