diff options
author | Sean Kaim <kmscode@users.noreply.github.com> | 2019-03-17 03:15:46 +0300 |
---|---|---|
committer | Sean Kaim <kmscode@users.noreply.github.com> | 2019-03-17 03:15:46 +0300 |
commit | 56adf72e95682adf4b0518eb8ad6ee5dd13e4410 (patch) | |
tree | 3af8f6311a56599b38005d5cc216b648723d5f11 /TIMING.C | |
parent | d9289d37592683a7885d40a9e8527e8382809d92 (diff) |
merge upstream 0.71 tag (part 1)
https://git.tartarus.org/?p=simon/putty.git;a=commit;h=abfc751c3ee7d57bf3f127a458c40bb4ca2b6996
Diffstat (limited to 'TIMING.C')
-rw-r--r-- | TIMING.C | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -164,7 +164,7 @@ unsigned long timing_last_clock(void) * Returns the time (in ticks) expected until the next timer after * that triggers. */ -int run_timers(unsigned long anow, unsigned long *next) +bool run_timers(unsigned long anow, unsigned long *next) { struct timer *first; @@ -176,7 +176,7 @@ int run_timers(unsigned long anow, unsigned long *next) first = (struct timer *)index234(timers, 0); if (!first) - return FALSE; /* no timers remaining */ + return false; /* no timers remaining */ if (find234(timer_contexts, first->ctx, NULL) == NULL) { /* @@ -200,7 +200,7 @@ int run_timers(unsigned long anow, unsigned long *next) * future. Return how long it has yet to go. */ *next = first->now; - return TRUE; + return true; } } } |