diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-01-18 20:05:00 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-01-18 20:05:00 +0200 |
commit | 8d7c0dd5c349f9bd57dad51c2492d3aaf2446a98 (patch) | |
tree | 170d3556a8dc5d255d216bdcdb69152346f32ad0 /ubi-utils/src/common.h | |
parent | 686422a72b06bc45ae2ab3c6c40e77826c8affe9 (diff) |
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 <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/common.h')
-rw-r--r-- | ubi-utils/src/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
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__); \ |