[PATCH spice-server 9/9] test-vdagent: Remove useless MIN definition

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

 



Already defined by GLib headers.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 server/tests/test-vdagent.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/server/tests/test-vdagent.c b/server/tests/test-vdagent.c
index 01308d0d..c734ddec 100644
--- a/server/tests/test-vdagent.c
+++ b/server/tests/test-vdagent.c
@@ -29,11 +29,6 @@
 #include "test-display-base.h"
 #include "test-glib-compat.h"
 
-#ifndef MIN
-#define MIN(a, b) ((a) > (b) ? (b) : (a))
-#endif
-
-
 static int vmc_write(SPICE_GNUC_UNUSED SpiceCharDeviceInstance *sin,
                      SPICE_GNUC_UNUSED const uint8_t *buf,
                      int len)
-- 
2.14.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]