From: Lubos Lunak Date: Wed, 21 Mar 2012 13:08:24 +0000 (+0100) Subject: do not export kernel's NULL #define to userspace X-Git-Tag: v3.4-rc3~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2084c24a81413b75bc97e4bee56b32ffece70460;p=pandora-kernel.git do not export kernel's NULL #define to userspace GCC's NULL is actually __null, which allows detecting some questionable NULL usage and warn about it. Moreover each platform/compiler should have its own stddef.h anyway (which is different from linux/stddef.h). So there's no good reason to leak kernel's NULL to userspace and override what the compiler provides. Signed-off-by: Luboš Luňák Acked-by: Arnd Bergmann Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed