summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/common.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-16 20:53:42 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-16 20:53:42 +0200
commitf6bd2c366b32262c2a5a1ac38713dc84bf7c9cbf (patch)
tree6464f369218560de977847b1dafc2952f89e37d9 /tests/ubi-tests/common.h
parent3bcddc65e3ffd69f29a68410c0604218cec8c34a (diff)
ubi-tests: fix build and some warnings
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/common.h')
-rw-r--r--tests/ubi-tests/common.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/ubi-tests/common.h b/tests/ubi-tests/common.h
index 3e8ada8..faa2865 100644
--- a/tests/ubi-tests/common.h
+++ b/tests/ubi-tests/common.h
@@ -49,8 +49,7 @@ extern "C" {
__LINE__, vol_id, req)
#define check_vol_patt(node, byte) \
- __check_vol_patt(libubi, &dev_info, TESTNAME, __FUNCTION__, __LINE__, \
- node, byte)
+ __check_vol_patt(libubi, TESTNAME, __FUNCTION__, __LINE__, node, byte)
#define update_vol_patt(node, bytes, byte) \
__update_vol_patt(libubi, TESTNAME, __FUNCTION__, __LINE__, \
@@ -89,9 +88,8 @@ int __initial_check(const char *test, int argc, char * const argv[]);
int __check_volume(libubi_t libubi, struct ubi_dev_info *dev_info,
const char *test, const char *func, int line, int vol_id,
const struct ubi_mkvol_request *req);
-int __check_vol_patt(libubi_t libubi, struct ubi_dev_info *dev_info,
- const char *test, const char *func, int line,
- const char *node, uint8_t byte);
+int __check_vol_patt(libubi_t libubi, const char *test, const char *func,
+ int line, const char *node, uint8_t byte);
int __update_vol_patt(libubi_t libubi, const char *test, const char *func,
int line, const char *node, long long bytes,
uint8_t byte);