[virt-viewer v2 04/13] glib-compat: group definitions and functions

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

 



There is no need to have more than one glib version checking for the
same version, in the same file. Let's just group them all.
---
 src/virt-glib-compat.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/virt-glib-compat.h b/src/virt-glib-compat.h
index 2c887e9..aa3d7d6 100644
--- a/src/virt-glib-compat.h
+++ b/src/virt-glib-compat.h
@@ -69,9 +69,7 @@ G_BEGIN_DECLS
 
 #if !GLIB_CHECK_VERSION(2,32,0)
 GByteArray *g_byte_array_new_take (guint8 *data, gsize len);
-#endif
 
-#if !GLIB_CHECK_VERSION(2,32,0)
 #define G_SOURCE_CONTINUE   TRUE
 #define G_SOURCE_REMOVE     FALSE
 #endif
-- 
2.4.4

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux