summaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src/libubi_int.h
diff options
context:
space:
mode:
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.
*