From 8d7c0dd5c349f9bd57dad51c2492d3aaf2446a98 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 18 Jan 2008 20:05:00 +0200 Subject: ubi-utils: tweak pfi2ubi Make it not depend on pdd and pass flash-related parameters via command line instead. Make it look more like the other UBI utilities. It still needs some more work. Signed-off-by: Artem Bityutskiy --- ubi-utils/src/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ubi-utils/src/common.h') diff --git a/ubi-utils/src/common.h b/ubi-utils/src/common.h index 06ae623..b27f866 100644 --- a/ubi-utils/src/common.h +++ b/ubi-utils/src/common.h @@ -23,6 +23,8 @@ extern "C" { #endif +#define MIN(a ,b) ((a) < (b) ? (a) : (b)) + /* Error messages */ #define errmsg(fmt, ...) do { \ fprintf(stderr, PROGRAM_NAME " error: " fmt "\n", ##__VA_ARGS__); \ -- cgit v1.2.3