Hello Oliver,
exactly the same definition of offsetof() is already present
in include/linux/stddef.h, therefore this one is redundant.
Applies to 2.5.75.
--- linux-2.5.x/include/linux/hfs_sysdep.h.orig 2003-07-12 13:52:56.000000000 +0200
+++ linux-2.5.x/include/linux/hfs_sysdep.h 2003-07-12 13:53:02.000000000 +0200
@@ -28,9 +28,6 @@
extern struct timezone sys_tz;
-#undef offsetof
-#define offsetof(TYPE, MEMB) ((size_t) &((TYPE *)0)->MEMB)
-
/* Typedefs for integer types by size and signedness */
typedef __u8 hfs_u8;
typedef __u16 hfs_u16;
-- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/Please don't send Word attachments - http://www.gnu.org/philosophy/no-word-attachments.html
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:44 EST