summaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src/libubi_int.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-04-17 16:43:20 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-04-17 16:46:23 +0300
commit49953500edc32e949b5f567fca67ed5430a68540 (patch)
tree4b2ba0eca5febffeea6c8d046d78f8eb02a9b71f /ubi-utils/new-utils/src/libubi_int.h
parent7280a34fc4dc7a40e6fc0b3317fb09ec90413af7 (diff)
ubi-utils: use common.h in libubi
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/new-utils/src/libubi_int.h')
-rw-r--r--ubi-utils/new-utils/src/libubi_int.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/ubi-utils/new-utils/src/libubi_int.h b/ubi-utils/new-utils/src/libubi_int.h
index f52797a..2e664b8 100644
--- a/ubi-utils/new-utils/src/libubi_int.h
+++ b/ubi-utils/new-utils/src/libubi_int.h
@@ -30,20 +30,6 @@
extern "C" {
#endif
-/* Error messages */
-#define errmsg(fmt, ...) ({ \
- fprintf(stderr, "libubi error: " fmt "\n", ##__VA_ARGS__); \
- -1; \
-})
-
-/* System error messages */
-#define sys_errmsg(fmt, ...) ({ \
- int _err = errno; \
- fprintf(stderr, "libubi error: " fmt "\n", ##__VA_ARGS__); \
- fprintf(stderr, "error %d (%s)\n", _err, strerror(_err)); \
- -1; \
-})
-
/*
* The below are pre-define UBI file and directory names.
*