From fa50c60d7b3b4963a9e3810c41a216577f76d7af Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 23 Sep 2010 21:52:17 -0400 Subject: mtd-utils: convert to common.h/min Kill off duplicated min() defines and convert to the common.h one. Signed-off-by: Mike Frysinger Signed-off-by: Artem Bityutskiy --- compr_zlib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compr_zlib.c') diff --git a/compr_zlib.c b/compr_zlib.c index dda3e40..0564f16 100644 --- a/compr_zlib.c +++ b/compr_zlib.c @@ -39,10 +39,9 @@ #include #include #include +#include "common.h" #include "compr.h" -#define min(x,y) ((x)<(y)?(x):(y)) - /* Plan: call deflate() with avail_in == *sourcelen, avail_out = *dstlen - 12 and flush == Z_FINISH. If it doesn't manage to finish, call it again with -- cgit v1.2.3