diff options
Diffstat (limited to 'tests/stubs.c')
| -rw-r--r-- | tests/stubs.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/stubs.c b/tests/stubs.c index f7ac679..fd47a68 100644 --- a/tests/stubs.c +++ b/tests/stubs.c | |||
| @@ -26,14 +26,11 @@ long io_trywrite(long d, const char *buf, long len) { | |||
| 26 | /* trackerlogic.c is under test, and starting it up starts every module it | 26 | /* trackerlogic.c is under test, and starting it up starts every module it |
| 27 | leans on. None of them is driven by these tests, so they are answered here | 27 | leans on. None of them is driven by these tests, so they are answered here |
| 28 | rather than linked in and left to run threads of their own. */ | 28 | rather than linked in and left to run threads of their own. */ |
| 29 | void clean_init(void) {} | 29 | /* ot_clean.c is in the unit build for t_clean, so its thread control is the |
| 30 | void clean_deinit(void) {} | 30 | real thing and only the stats hook it calls is stubbed here. */ |
| 31 | int clean_single_torrent(ot_torrent *torrent) { | ||
| 32 | (void)torrent; | ||
| 33 | return 0; | ||
| 34 | } | ||
| 35 | void fullscrape_init(void) {} | 31 | void fullscrape_init(void) {} |
| 36 | void fullscrape_deinit(void) {} | 32 | void fullscrape_deinit(void) {} |
| 33 | void stats_cleanup(void) {} | ||
| 37 | void livesync_init(void) {} | 34 | void livesync_init(void) {} |
| 38 | void livesync_deinit(void) {} | 35 | void livesync_deinit(void) {} |
| 39 | void livesync_tell(struct ot_workstruct *ws) { (void)ws; } | 36 | void livesync_tell(struct ot_workstruct *ws) { (void)ws; } |
