From a97548b1c9bb69b5824609c1da1ad66c3a9c5065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 11 Nov 2004 20:10:28 +0000 Subject: [PATCH] Cosmetic fix to make xf86pciBus.c use standard min() macro. --- hw/xfree86/common/xf86pciBus.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c index 636faa1df..dfb6ec88a 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -104,9 +104,6 @@ static PciBusPtr xf86PciBus = NULL; #define PCI_MEM32_LENGTH_MAX 0xFFFFFFFF -#undef MIN -#define MIN(x,y) ((xblock_end = MIN(tmp->block_end,PCI_MEM32_LENGTH_MAX); + tmp->block_end = min(tmp->block_end,PCI_MEM32_LENGTH_MAX); tmp = tmp->next; } } else if ((pbp->primary == pvp->bus) &&