From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqaMe-0001I1-5v for barebox@lists.infradead.org; Thu, 14 Apr 2016 06:02:52 +0000 Date: Thu, 14 Apr 2016 08:02:22 +0200 From: Sascha Hauer Message-ID: <20160414060222.GX9102@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] NULL: keep NULL definition in stddef.h only To: DU HUANPENG , g@pengutronix.de Cc: Du Huanpeng , "barebox@lists.infradead.org" , "norep1y@21cn.com" , "t-kernel@googlegroups.com" On Wed, Apr 13, 2016 at 04:04:01PM +0000, DU HUANPENG wrote: > From: Du Huanpeng > > remove other local definition of NULL, use > #include > instead. > I use this command to search NULL definition, > grep -R "define\s*\" > hope there are no more definition of NULL. > > from ISO/IEC 9899:TC3: > The macros are > NULL > which expands to an implementation-defined null pointer constant; > > Signed-off-by: Du Huanpeng > --- > include/command.h | 5 +---- > lib/bzlib_private.h | 11 +---------- > 2 files changed, 2 insertions(+), 14 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox