[libvirt] [PATCH] build: make cpp indentation conform

Jim Meyering jim at meyering.net
Sat May 29 07:46:36 UTC 2010


FYI, I've pushed this:

>From f9a4df5a5bc4ab9a645928430db84ec3807a996e Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Sat, 29 May 2010 09:45:21 +0200
Subject: [PATCH] build: make cpp indentation conform

* src/storage/storage_backend.h (VIR_STORAGE_VOL_OPEN_DEFAULT):
Adjust s/#define/# define/, and align continued lines.
---
 src/storage/storage_backend.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/storage/storage_backend.h b/src/storage/storage_backend.h
index bb4d1c0..1165a45 100644
--- a/src/storage/storage_backend.h
+++ b/src/storage/storage_backend.h
@@ -93,10 +93,10 @@ enum {
     VIR_STORAGE_VOL_OPEN_CHAR   = 1 << 3, /* char files okay */
 };

-#define VIR_STORAGE_VOL_OPEN_DEFAULT (VIR_STORAGE_VOL_OPEN_ERROR    |\
-                                      VIR_STORAGE_VOL_OPEN_REG      |\
-                                      VIR_STORAGE_VOL_OPEN_CHAR     |\
-                                      VIR_STORAGE_VOL_OPEN_BLOCK)
+# define VIR_STORAGE_VOL_OPEN_DEFAULT (VIR_STORAGE_VOL_OPEN_ERROR    |\
+                                       VIR_STORAGE_VOL_OPEN_REG      |\
+                                       VIR_STORAGE_VOL_OPEN_CHAR     |\
+                                       VIR_STORAGE_VOL_OPEN_BLOCK)

 int virStorageBackendVolOpenCheckMode(const char *path, unsigned int flags)
 ATTRIBUTE_RETURN_CHECK
--
1.7.1.348.gb26ba




More information about the libvir-list mailing list