-/* Has a timer tick occurred?
- *
- * We initialize these to true to force time_init() to get called on the first
- * call to time_msec() or another function that queries the current time. */
-static volatile sig_atomic_t wall_tick = true;
-static volatile sig_atomic_t monotonic_tick = true;
-
-/* The current time, as of the last refresh. */
-static struct timespec wall_time;
-static struct timespec monotonic_time;
-
-/* Fixed monotonic time offset, for use by unit tests. */
-static struct timespec warp_offset;
-
-/* Time at which to die with SIGALRM (if not TIME_MIN). */
-static time_t deadline = TIME_MIN;
-
-static void set_up_timer(void);
-static void set_up_signal(int flags);
-static void sigalrm_handler(int);
-static void refresh_wall_if_ticked(void);
-static void refresh_monotonic_if_ticked(void);
-static time_t time_add(time_t, time_t);
-static void block_sigalrm(sigset_t *);
-static void unblock_sigalrm(const sigset_t *);
-static void log_poll_interval(long long int last_wakeup);
-static struct rusage *get_recent_rusage(void);
-static void refresh_rusage(void);
-static void timespec_add(struct timespec *sum,
- const struct timespec *a, const struct timespec *b);