- Stephen Rothwell: APM updates
[davej-history.git] / include / linux / stddef.h
blobdfa23221524e47408f54d4424b92a17161f439c5
1 #ifndef _LINUX_STDDEF_H
2 #define _LINUX_STDDEF_H
4 #undef NULL
5 #if defined(__cplusplus)
6 #define NULL 0
7 #else
8 #define NULL ((void *)0)
9 #endif
11 #undef offsetof
12 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
14 #endif