diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-23 21:52:17 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-09-24 15:25:03 +0300 |
commit | fa50c60d7b3b4963a9e3810c41a216577f76d7af (patch) | |
tree | 89d72ffddb5fdec10fc931f84125bc63691d3af4 /include | |
parent | da3106bf16a7c065e2205297136c6c60b0562dc3 (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 'include')
-rw-r--r-- | include/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 03e6f7c..f2b7b6b 100644 --- a/include/common.h +++ b/include/common.h @@ -34,6 +34,7 @@ extern "C" { #endif #define MIN(a ,b) ((a) < (b) ? (a) : (b)) +#define min(a, b) MIN(a, b) /* glue for linux kernel source */ #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) /* Verbose messages */ |