aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/src
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-07-17 10:04:56 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-07-17 10:04:56 +0300
commit5db0545e2858da5f79d6461544f94c88f6bf7af9 (patch)
tree7e2441edff0cd44e1a0396f7e4cb801ecb3ae5f5 /ubi-utils/src
parent7d3f89c62f5032713e6614f1004fcbba379ebbaa (diff)
libs: remove ubiutils-specific stuff from common.h
Now include/common.h contains things that really everyone can use. And all the stuff specific to ubi-utils is in ubi-utils/include/ubiutils-common.h Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src')
-rw-r--r--ubi-utils/src/mtdinfo.c1
-rw-r--r--ubi-utils/src/ubiattach.c1
-rw-r--r--ubi-utils/src/ubiformat.c1
-rw-r--r--ubi-utils/src/ubimkvol.c1
-rw-r--r--ubi-utils/src/ubinfo.c1
-rw-r--r--ubi-utils/src/ubinize.c1
-rw-r--r--ubi-utils/src/ubirsvol.c1
-rw-r--r--ubi-utils/src/ubiutils-common.c (renamed from ubi-utils/src/common.c)0
8 files changed, 7 insertions, 0 deletions
diff --git a/ubi-utils/src/mtdinfo.c b/ubi-utils/src/mtdinfo.c
index 11f309e..b39ed5f 100644
--- a/ubi-utils/src/mtdinfo.c
+++ b/ubi-utils/src/mtdinfo.c
@@ -31,6 +31,7 @@
#include <libubigen.h>
#include <libmtd.h>
#include "common.h"
+#include "ubiutils-common.h"
#define PROGRAM_VERSION "1.0"
#define PROGRAM_NAME "mtdinfo"
diff --git a/ubi-utils/src/ubiattach.c b/ubi-utils/src/ubiattach.c
index 210624b..b1c8d74 100644
--- a/ubi-utils/src/ubiattach.c
+++ b/ubi-utils/src/ubiattach.c
@@ -29,6 +29,7 @@
#include <libubi.h>
#include "common.h"
+#include "ubiutils-common.h"
#define PROGRAM_VERSION "1.0"
#define PROGRAM_NAME "ubiattach"
diff --git a/ubi-utils/src/ubiformat.c b/ubi-utils/src/ubiformat.c
index f0a87c4..6052a35 100644
--- a/ubi-utils/src/ubiformat.c
+++ b/ubi-utils/src/ubiformat.c
@@ -43,6 +43,7 @@
#include <mtd_swab.h>
#include <crc32.h>
#include "common.h"
+#include "ubiutils-common.h"
#define PROGRAM_VERSION "1.5"
#define PROGRAM_NAME "ubiformat"
diff --git a/ubi-utils/src/ubimkvol.c b/ubi-utils/src/ubimkvol.c
index c1b577d..c867c44 100644
--- a/ubi-utils/src/ubimkvol.c
+++ b/ubi-utils/src/ubimkvol.c
@@ -31,6 +31,7 @@
#include <libubi.h>
#include "common.h"
+#include "ubiutils-common.h"
#define PROGRAM_VERSION "1.1"
#define PROGRAM_NAME "ubimkvol"
diff --git a/ubi-utils/src/ubinfo.c b/ubi-utils/src/ubinfo.c
index 8f84382..cecab43 100644
--- a/ubi-utils/src/ubinfo.c
+++ b/ubi-utils/src/ubinfo.c
@@ -29,6 +29,7 @@
#include <libubi.h>
#include "common.h"
+#include "ubiutils-common.h"
#define PROGRAM_VERSION "1.1"
#define PROGRAM_NAME "ubinfo"
diff --git a/ubi-utils/src/ubinize.c b/ubi-utils/src/ubinize.c
index ab5b0b8..2ff4e29 100644
--- a/ubi-utils/src/ubinize.c
+++ b/ubi-utils/src/ubinize.c
@@ -34,6 +34,7 @@
#include <libubigen.h>
#include <libiniparser.h>
#include "common.h"
+#include "ubiutils-common.h"
#define PROGRAM_VERSION "1.2"
#define PROGRAM_NAME "ubinize"
diff --git a/ubi-utils/src/ubirsvol.c b/ubi-utils/src/ubirsvol.c
index a32a956..683e606 100644
--- a/ubi-utils/src/ubirsvol.c
+++ b/ubi-utils/src/ubirsvol.c
@@ -31,6 +31,7 @@
#include <libubi.h>
#include "common.h"
+#include "ubiutils-common.h"
#define PROGRAM_VERSION "1.1"
#define PROGRAM_NAME "ubirsvol"
diff --git a/ubi-utils/src/common.c b/ubi-utils/src/ubiutils-common.c
index da5156d..da5156d 100644
--- a/ubi-utils/src/common.c
+++ b/ubi-utils/src/ubiutils-common.c