projects
/
darkstat-debian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull in darkstat-3.0.718
[darkstat-debian]
/
now.h
diff --git
a/now.h
b/now.h
index
9c61f45
..
03366e7
100644
(file)
--- a/
now.h
+++ b/
now.h
@@
-1,5
+1,5
@@
/* darkstat 3
/* darkstat 3
- * copyright (c) 2001-20
06
Emil Mikulic.
+ * copyright (c) 2001-20
14
Emil Mikulic.
*
* now.h: a cache of the current time.
*
*
* now.h: a cache of the current time.
*
@@
-20,11
+20,11
@@
void now_init(void);
void now_update(void); /* once per event loop (in darkstat.c) */
void now_init(void);
void now_update(void); /* once per event loop (in darkstat.c) */
-
long
now_real(void);
-
long
now_mono(void);
+
time_t
now_real(void);
+
time_t
now_mono(void);
-
long mono_to_real(const long
t);
-
long real_to_mono(const long
t);
+
time_t mono_to_real(const time_t
t);
+
time_t real_to_mono(const time_t
t);
/* Emits warnings if a call is too slow. */
struct timespec;
/* Emits warnings if a call is too slow. */
struct timespec;