[PATCH] tests: fix #ifdef indentation from previous commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---

Pushed under the brown paper bag rule :-(

 tests/virpcimock.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/virpcimock.c b/tests/virpcimock.c
index e9a3791aea..c0dcd377d5 100644
--- a/tests/virpcimock.c
+++ b/tests/virpcimock.c
@@ -32,9 +32,9 @@
 
 static int (*real_access)(const char *path, int mode);
 static int (*real_open)(const char *path, int flags, ...);
-#ifdef __GLIBC__
+# ifdef __GLIBC__
 static int (*real___open_2)(const char *path, int flags);
-#endif /* ! __GLIBC__ */
+# endif /* ! __GLIBC__ */
 static int (*real_close)(int fd);
 static DIR * (*real_opendir)(const char *name);
 static char *(*real_virFileCanonicalizePath)(const char *path);
@@ -957,9 +957,9 @@ init_syms(void)
 
     VIR_MOCK_REAL_INIT(access);
     VIR_MOCK_REAL_INIT(open);
-#ifdef __GLIBC__
+# ifdef __GLIBC__
     VIR_MOCK_REAL_INIT(__open_2);
-#endif /* ! __GLIBC__ */
+# endif /* ! __GLIBC__ */
     VIR_MOCK_REAL_INIT(close);
     VIR_MOCK_REAL_INIT(opendir);
     VIR_MOCK_REAL_INIT(virFileCanonicalizePath);
@@ -1088,7 +1088,7 @@ open(const char *path, int flags, ...)
 }
 
 
-#ifdef __GLIBC__
+# ifdef __GLIBC__
 /* in some cases this function may not be present in headers, so we need
  * a declaration to silence the complier */
 int
@@ -1118,7 +1118,7 @@ __open_2(const char *path, int flags)
 
     return ret;
 }
-#endif /* ! __GLIBC__ */
+# endif /* ! __GLIBC__ */
 
 DIR *
 opendir(const char *path)
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux