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>
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;
}