commit | b474f43816a9322cb33ec4ab4929683d2f042547 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Oct 08 15:23:26 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 08 17:22:26 2021 +0200 |
tree | 4832c854e5e2e57e41ef66fc1de392258c07300b | |
parent | 2169498941254eef0589d7c078f9955959d4baf5 [diff] |
MINOR: wdt: move wd_timer to wdt.c The watchdog timer had no more reason for being shared with the struct thread_info since the watchdog is the only user now. Let's remove it from the struct and move it to a static array in wdt.c. This removes some ifdefs and the need for the ugly mapping to empty_t that might be subject to a cast to a long when compared to TIMER_INVALID. Now timer_t is not known outside of wdt.c and clock.c anymore.