From: H. Peter Anvin Date: Fri, 29 May 2009 22:10:27 +0000 (-0700) Subject: Run Nindent on com32/lib/zalloc.c X-Git-Tag: syslinux-3.83-pre2~171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd90b6304bd9da6025587fd51bda4532271b3e0e;p=platform%2Fupstream%2Fsyslinux.git Run Nindent on com32/lib/zalloc.c Automatically reformat com32/lib/zalloc.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin --- diff --git a/com32/lib/zalloc.c b/com32/lib/zalloc.c index 2a58a11..0e6ed28 100644 --- a/com32/lib/zalloc.c +++ b/com32/lib/zalloc.c @@ -7,11 +7,11 @@ void *zalloc(size_t size) { - void *ptr; + void *ptr; - ptr = malloc(size); - if ( ptr ) - memset(ptr, 0, size); + ptr = malloc(size); + if (ptr) + memset(ptr, 0, size); - return ptr; + return ptr; }