]> sourceware.org Git - glibc.git/commitdiff
* sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.
authorJakub Jelinek <jakub@redhat.com>
Wed, 17 Jan 2007 11:42:36 +0000 (11:42 +0000)
committerJakub Jelinek <jakub@redhat.com>
Wed, 17 Jan 2007 11:42:36 +0000 (11:42 +0000)
2007-01-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.

ChangeLog
sysdeps/unix/sysv/linux/getdents.c

index 32f9044fe2919c02511b60a04443c479483a69c9..99098ab2d7df3bcb128a6e51933ac92b52e017db 100644 (file)
--- 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
index 836cbf39227f7007924b50f9ad35365acb4eee91..b33d1789adff11a04cbb1f6f5616bc8eed59418f 100644 (file)
@@ -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
This page took 0.049167 seconds and 5 git commands to generate.