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

index 27fd7d5..77e93ac 100644 (file)
 
 int main(int argc, char *argv[])
 {
-  int i;
+    int i;
 
-  openconsole(&dev_stdcon_r, &dev_stdcon_w);
+    openconsole(&dev_stdcon_r, &dev_stdcon_w);
 
-  printf("Hello, World!\n");
+    printf("Hello, World!\n");
 
-  for (i = 1; i < argc; i++)
-    printf("%s%c", argv[i], (i == argc-1) ? '\n' : ' ');
+    for (i = 1; i < argc; i++)
+       printf("%s%c", argv[i], (i == argc - 1) ? '\n' : ' ');
 
-  return 0;
+    return 0;
 }