From 333f5836aa2f334680574e83fb9757a6250d9708 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 29 May 2009 15:10:26 -0700 Subject: Run Nindent on com32/lib/syslinux/loadfile.c Automatically reformat com32/lib/syslinux/loadfile.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin --- com32/lib/syslinux/loadfile.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'com32/lib/syslinux/loadfile.c') diff --git a/com32/lib/syslinux/loadfile.c b/com32/lib/syslinux/loadfile.c index 7ad8e817..fa96c656 100644 --- a/com32/lib/syslinux/loadfile.c +++ b/com32/lib/syslinux/loadfile.c @@ -43,21 +43,21 @@ #define INCREMENTAL_CHUNK 1024*1024 -int loadfile(const char *filename, void **ptr, size_t *len) +int loadfile(const char *filename, void **ptr, size_t * len) { - FILE *f; - int rv, e; + FILE *f; + int rv, e; - f = fopen(filename, "r"); - if ( !f ) - return -1; + f = fopen(filename, "r"); + if (!f) + return -1; - rv = floadfile(f, ptr, len, NULL, 0); - e = errno; + rv = floadfile(f, ptr, len, NULL, 0); + e = errno; - fclose(f); + fclose(f); - if (rv) - errno = e; - return rv; + if (rv) + errno = e; + return rv; } -- cgit v1.2.1