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

index 8b010ec..22555ca 100644 (file)
 
 static ssize_t __err_read(struct file_info *fp, void *buf, size_t count)
 {
-  (void)fp; (void)buf; (void)count;
-  errno = -EINVAL;
-  return -1;
+    (void)fp;
+    (void)buf;
+    (void)count;
+    errno = -EINVAL;
+    return -1;
 }
 
 const struct input_dev dev_error_r = {
-  .dev_magic = __DEV_MAGIC,
-  .flags     = __DEV_INPUT | __DEV_ERROR,
-  .fileflags = O_RDONLY,
-  .read      = __err_read,
-  .close     = NULL,
+    .dev_magic = __DEV_MAGIC,
+    .flags = __DEV_INPUT | __DEV_ERROR,
+    .fileflags = O_RDONLY,
+    .read = __err_read,
+    .close = NULL,
 };