/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_STDDEF_H #define _LINUX_STDDEF_H #include <uapi/linux/stddef.h> #undef NULL #define NULL ((void *)0) enum { false = 0, true = 1 }; #undef offsetof #ifdef __compiler_offsetof #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) #else #define offsetof(TYPE, MEMBER) ((size_t)&((TYPE *)0)->MEMBER) #endif /** * offsetofend(TYPE, MEMBER) * * @TYPE: The type of the structure * @MEMBER: The member within the structure to get the end offset of */ #define offsetofend(TYPE, MEMBER) \ (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER)) #endifOverall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 27 | 39.13% | 2 | 25.00% |
Andi Kleen | 15 | 21.74% | 1 | 12.50% |
Richard Knutsson | 11 | 15.94% | 1 | 12.50% |
Denys Vlasenko | 11 | 15.94% | 1 | 12.50% |
Joe Perches | 3 | 4.35% | 1 | 12.50% |
David Howells | 1 | 1.45% | 1 | 12.50% |
Greg Kroah-Hartman | 1 | 1.45% | 1 | 12.50% |
Total | 69 | 100.00% | 8 | 100.00% |