Run Nindent on com32/lib/strsep.c
authorH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:24 +0000 (15:10 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:24 +0000 (15:10 -0700)
Automatically reformat com32/lib/strsep.c 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/lib/strsep.c

index 58a7a07..5c4f03f 100644 (file)
@@ -6,16 +6,16 @@
 
 char *strsep(char **stringp, const char *delim)
 {
-  char *s = *stringp;
-  char *e;
+    char *s = *stringp;
+    char *e;
 
-  if ( !s )
-    return NULL;
+    if (!s)
+       return NULL;
 
-  e = strpbrk(s, delim);
-  if (e)
-    *e++ = '\0';
+    e = strpbrk(s, delim);
+    if (e)
+       *e++ = '\0';
 
-  *stringp = e;
-  return s;
+    *stringp = e;
+    return s;
 }