summaryrefslogtreecommitdiff
path: root/recv_image.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-23 21:52:17 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-09-24 15:25:03 +0300
commitfa50c60d7b3b4963a9e3810c41a216577f76d7af (patch)
tree89d72ffddb5fdec10fc931f84125bc63691d3af4 /recv_image.c
parentda3106bf16a7c065e2205297136c6c60b0562dc3 (diff)
mtd-utils: convert to common.h/min
Kill off duplicated min() defines and convert to the common.h one. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'recv_image.c')
-rw-r--r--recv_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recv_image.c b/recv_image.c
index 617711c..6d27f3b 100644
--- a/recv_image.c
+++ b/recv_image.c
@@ -20,7 +20,7 @@
#include "mtd/mtd-user.h"
#include "mcast_image.h"
-#define min(x,y) ( (x)>(y)?(y):(x) )
+#include "common.h"
#define WBUF_SIZE 4096
struct eraseblock {