Re: [PATCH 5/5] storage_conf: Improve the coding style in storage_conf.h

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

 



On 16/05/13 20:40, Osier Yang wrote:
Changes:
   * Remove useless comments
   * Remove useless blank lines
   * If the struct member is a enum type, comment it like
     /* enum fooBar */
   * Break the long lines
   * Prefer the common function style for the inline function
---
  src/conf/storage_conf.h | 120 ++++++++++++++++++++++++------------------------
  1 file changed, 59 insertions(+), 61 deletions(-)

diff --git a/src/conf/storage_conf.h b/src/conf/storage_conf.h
index 567a4ac..4a1feb3 100644
--- a/src/conf/storage_conf.h
+++ b/src/conf/storage_conf.h
@@ -30,11 +30,7 @@
# include <libxml/tree.h> -/* Shared structs */ -
-
-typedef struct _virStoragePerms virStoragePerms;
Accidently removed this line. With the following diff squashed in:

diff --git a/src/conf/storage_conf.h b/src/conf/storage_conf.h
index 4a1feb3..8e739ff 100644
--- a/src/conf/storage_conf.h
+++ b/src/conf/storage_conf.h
@@ -30,7 +30,7 @@

 # include <libxml/tree.h>

-
+typedef struct _virStoragePerms virStoragePerms;
 typedef virStoragePerms *virStoragePermsPtr;
 struct _virStoragePerms {
     mode_t mode;

--
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]