summaryrefslogtreecommitdiff
path: root/com32/samples
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:31 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:31 -0700
commit06be30ea6e0050bdc2eaa0b75903a398fdbe8552 (patch)
tree55cc98bf22b89284c097bd85116bfd68cd2a14ef /com32/samples
parent7b18af70d3533e255c58ec6bf1e4fe195340f267 (diff)
downloadsyslinux-06be30ea6e0050bdc2eaa0b75903a398fdbe8552.tar.gz
Run Nindent on com32/samples/hello.c
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>
Diffstat (limited to 'com32/samples')
-rw-r--r--com32/samples/hello.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/com32/samples/hello.c b/com32/samples/hello.c
index 27fd7d53..77e93ac7 100644
--- a/com32/samples/hello.c
+++ b/com32/samples/hello.c
@@ -22,14 +22,14 @@
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;
}