[Spice-devel] [PATCH 1/2] remove duplicated macro

Christophe Fergeau cfergeau at gmail.com
Fri Apr 1 09:39:39 PDT 2011


On Fri, Apr 01, 2011 at 06:19:11PM +0200, Christophe Fergeau wrote:
> MIN() is already defined in spice-protocol/spice/macros.h

Hrm, and the patch below isn't the one I meant to sent, the correct one is
attached.

Christophe
-------------- next part --------------
From e61aebb30b529351a21ac37a5f2a149f773a9664 Mon Sep 17 00:00:00 2001
From: Christophe Fergeau <cfergeau at redhat.com>
Date: Fri, 1 Apr 2011 16:47:12 +0200
Subject: [PATCH] remove duplicated macro

MIN() is already defined in spice-protocol/spice/macros.h
---
 server/tests/test_util.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/server/tests/test_util.h b/server/tests/test_util.h
index 5344a4f..ac1442d 100644
--- a/server/tests/test_util.h
+++ b/server/tests/test_util.h
@@ -9,6 +9,4 @@
     abort();                                                \
 }
 
-#define MIN(a,b) ((a) > (b) ? (b) : (a))
-
 #endif // __TEST_UTIL_H__
-- 
1.7.4.2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110401/d766aeae/attachment.pgp>


More information about the Spice-devel mailing list