Import darkstat 3.0.712
[darkstat] / now.h
1 /* darkstat 3
2 * copyright (c) 2001-2006 Emil Mikulic.
3 *
4 * now.h: a cache of the current time
5 * This lets us avoid superfluous gettimeofday() syscalls.
6 */
7 #include <time.h>
8
9 extern time_t now; /* updated in the event loop in darkstat.c */