diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-02-29 19:08:50 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-02-29 19:08:50 -0800 |
commit | 018c27eda89b54e59e6c043ea2986c6e39ec2ee0 (patch) | |
tree | 7203d2fa92c163fdbff444e81786556dfd68f8da /libc | |
parent | 51d22d7ea92e77f47accee59c99cb8157bf29fcb (diff) | |
parent | 25f2d1f0c3c7802af0d4d1e2bbd3bf95a7e0970b (diff) | |
download | android_bionic-018c27eda89b54e59e6c043ea2986c6e39ec2ee0.tar.gz android_bionic-018c27eda89b54e59e6c043ea2986c6e39ec2ee0.tar.bz2 android_bionic-018c27eda89b54e59e6c043ea2986c6e39ec2ee0.zip |
am 25f2d1f0: Merge "update stddef.h"
* commit '25f2d1f0c3c7802af0d4d1e2bbd3bf95a7e0970b':
update stddef.h
Diffstat (limited to 'libc')
-rw-r--r-- | libc/kernel/common/linux/stddef.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/libc/kernel/common/linux/stddef.h b/libc/kernel/common/linux/stddef.h index 5412f475d..cca408ca5 100644 --- a/libc/kernel/common/linux/stddef.h +++ b/libc/kernel/common/linux/stddef.h @@ -7,25 +7,24 @@ *** structures, and macros generated from the original header, and thus, *** contains no copyrightable information. *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** **************************************************************************** ****************************************************************************/ #ifndef _LINUX_STDDEF_H #define _LINUX_STDDEF_H - #include <linux/compiler.h> - #undef NULL +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #ifdef __cplusplus #define NULL 0 #else #define NULL ((void *)0) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif - -#undef offsetof -#ifdef __compiler_offsetof -#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER) -#else -#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) -#endif - #endif |