summaryrefslogtreecommitdiff
path: root/mkfs.ubifs/mkfs.ubifs.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-10-20 13:47:09 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-10-20 13:47:09 +0300
commitdd183c2c8000d42073d19fefc2740dc50bafd287 (patch)
treed7033e3951cc78b870a716dd4105eedb0be39651 /mkfs.ubifs/mkfs.ubifs.h
parenta167204782941dae63a3318a9c26bde040c7b049 (diff)
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 <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'mkfs.ubifs/mkfs.ubifs.h')
-rw-r--r--mkfs.ubifs/mkfs.ubifs.h4
1 files changed, 4 insertions, 0 deletions
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 <uuid/uuid.h>
#include <sys/file.h>
+/* common.h requires the PROGRAM_NAME macro */
+#define PROGRAM_NAME "mkfs.ubifs"
+#include "common.h"
+
#include "libubi.h"
#include "defs.h"
#include "crc16.h"