From dd183c2c8000d42073d19fefc2740dc50bafd287 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 20 Oct 2014 13:47:09 +0300 Subject: mkfs.ubifs: start using common code Several commonly used macros are now defined in 'common.h', let's start using them in mkfs.ubifs, instead of duplicating them. Signed-off-by: Artem Bityutskiy --- mkfs.ubifs/mkfs.ubifs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mkfs.ubifs/mkfs.ubifs.h') diff --git a/mkfs.ubifs/mkfs.ubifs.h b/mkfs.ubifs/mkfs.ubifs.h index 6030c48..3edb79d 100644 --- a/mkfs.ubifs/mkfs.ubifs.h +++ b/mkfs.ubifs/mkfs.ubifs.h @@ -46,6 +46,10 @@ #include #include +/* common.h requires the PROGRAM_NAME macro */ +#define PROGRAM_NAME "mkfs.ubifs" +#include "common.h" + #include "libubi.h" #include "defs.h" #include "crc16.h" -- cgit v1.2.3