Run Nindent on com32/menu/refstr.h
authorH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:28 +0000 (15:10 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:28 +0000 (15:10 -0700)
Automatically reformat com32/menu/refstr.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/menu/refstr.h

index f51777d..7001d40 100644 (file)
 #include <stddef.h>
 #include <stdarg.h>
 
-static inline __attribute__((always_inline))
+static inline __attribute__ ((always_inline))
 const char *refstr_get(const char *r)
 {
-  if (r)
-    ((unsigned int *)r)[-1]++;
-  return r;
+    if (r)
+       ((unsigned int *)r)[-1]++;
+    return r;
 }
 
 void refstr_put(const char *);