]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix coding style issues.
authorNitesh Konkar <niteshkonkar.libvirt@gmail.com>
Mon, 26 Sep 2016 19:01:27 +0000 (00:31 +0530)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 26 Sep 2016 22:07:58 +0000 (18:07 -0400)
Signed-off-by: Nitesh Konkar <nitkon12@linux.vnet.ibm.com>
src/uml/uml_conf.h
src/vbox/vbox_common.h
tests/qemumonitorjsontest.c

index 9a45d102893ee703e4a32e3565a05f10bdc3c369..5da55e5f1a64901a56df1e28118832e00ff37fa4 100644 (file)
@@ -35,7 +35,7 @@
 # include "vircommand.h"
 # include "virhash.h"
 
-# define umlDebug(fmt, ...) do {} while(0)
+# define umlDebug(fmt, ...) do {} while (0)
 
 # define UML_CPUMASK_LEN CPU_SETSIZE
 
index c8787c3d051f78e558ae2cd7db0b9722c835940c..b178878af1be0334518cb3eadb0f09e124df7c20 100644 (file)
@@ -435,6 +435,6 @@ typedef nsISupports IKeyboard;
         } else {                                                        \
             result = -1;                                                \
         }                                                               \
-    } while(0)
+    } while (0)
 
 #endif /* VBOX_COMMON_H */
index cbc39c67dc4852e14bdc996ebf749e660204e986..4e7bb71877f95284894f76a9d0e601ebd286bc44 100644 (file)
@@ -721,7 +721,7 @@ testQemuMonitorJSONAttachChardev(const void *data)
         goto cleanup;                                               \
     if (qemuMonitorAttachCharDev(qemuMonitorTestGetMonitor(test),   \
                                      chrID, &chr) < 0)              \
-        ret = fail ? ret  : -1;                                     \
+        ret = fail ? ret : -1;                                      \
     else                                                            \
         ret = fail ? -1 : ret;                                      \