]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: virfile: Fix indentation of preprocessor directives
authorPeter Krempa <pkrempa@redhat.com>
Mon, 28 Mar 2022 11:13:20 +0000 (13:13 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 28 Mar 2022 11:13:20 +0000 (13:13 +0200)
stderr:
cppi: /home/pipo/libvirt/src/util/virfile.c: line 205: not properly indented
cppi: /home/pipo/libvirt/src/util/virfile.c: line 243: not properly indented
cppi: /home/pipo/libvirt/src/util/virfile.c: line 249: not properly indented
build-aux/syntax-check.mk: incorrect preprocessor indentation
make: *** [/home/pipo/libvirt/build-aux/syntax-check.mk:565: sc_preprocessor_indentation] Error 1

Fixes: c61d1e9ba0a0bec18fdb0bdd485060dc27a4e5cc
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/util/virfile.c

index 6f2af35201f63f025921a878b6531f40238f877d..12b359d55013c41d44888ea528ebe8fa53c6ac79 100644 (file)
@@ -202,7 +202,7 @@ struct _virFileWrapperFd {
 
 #ifndef WIN32
 
-#ifdef __linux__
+# ifdef __linux__
 
 /**
  * virFileWrapperSetPipeSize:
@@ -240,13 +240,13 @@ virFileWrapperSetPipeSize(int fd)
              g_strerror(errno));
 }
 
-#else /* !__linux__ */
+# else /* !__linux__ */
 static void
 virFileWrapperSetPipeSize(int fd G_GNUC_UNUSED)
 {
     return;
 }
-#endif /* !__linux__ */
+# endif /* !__linux__ */
 
 
 /**