| 18 | static bool alloc_fails; |
| 19 | |
| 20 | static void *test_alloc(struct timers *timers, size_t len) |
| 21 | { |
| 22 | (void)timers; |
| 23 | if (alloc_fails) |
| 24 | return NULL; |
| 25 | return malloc(len); |
| 26 | } |
| 27 | |
| 28 | static void test_free(struct timers *timers, void *p) |
| 29 | { |
nothing calls this directly
no outgoing calls
no test coverage detected