aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lifecycle.h6
-rw-r--r--tests/tests.h7
2 files changed, 6 insertions, 7 deletions
diff --git a/tests/lifecycle.h b/tests/lifecycle.h
index 074433e9..1d82e694 100644
--- a/tests/lifecycle.h
+++ b/tests/lifecycle.h
@@ -29,4 +29,10 @@
#define SKIP_TEST(name) \
void name (void **state) { skip(); }
+void run_basic_lifecycle(void **state, const struct io_mock *io,
+ const struct programmer_entry *prog, const char *param);
+
+void run_probe_lifecycle(void **state, const struct io_mock *io,
+ const struct programmer_entry *prog, const char *param, const char *const chip_name);
+
#endif /* __LIFECYCLE_H__ */
diff --git a/tests/tests.h b/tests/tests.h
index aa5a0d1e..240f33db 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -42,13 +42,6 @@ void probe_spi_at25f_test_success(void **state);
void probe_spi_st95_test_success(void **state); /* spi95.c */
/* lifecycle.c */
-struct io_mock;
-struct programmer_entry;
-void run_basic_lifecycle(void **state, const struct io_mock *io,
- const struct programmer_entry *prog, const char *param);
-void run_probe_lifecycle(void **state, const struct io_mock *io,
- const struct programmer_entry *prog, const char *param, const char *chip_name);
-
void dummy_basic_lifecycle_test_success(void **state);
void dummy_probe_lifecycle_test_success(void **state);
void dummy_probe_variable_size_test_success(void **state);