diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2017-12-05 20:31:46 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2017-12-05 20:31:46 +0000 |
commit | 44af7db6048e7327fcbf501407443c0cdc90c7eb (patch) | |
tree | a2c1c91be4138d4f8655a5adedb8d35e522a1170 /sbin/isakmpd/util.h | |
parent | 592710a2059adb8aacec869dacfbaca0d473fc0b (diff) |
Use clock_gettime(CLOCK_MONOTONIC) to schedule timers
From Scott Cheloha, ok tb@
Diffstat (limited to 'sbin/isakmpd/util.h')
-rw-r--r-- | sbin/isakmpd/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/util.h b/sbin/isakmpd/util.h index ffb49351138..2ba66c9f4c0 100644 --- a/sbin/isakmpd/util.h +++ b/sbin/isakmpd/util.h @@ -1,4 +1,4 @@ -/* $OpenBSD: util.h,v 1.32 2014/01/23 01:04:28 deraadt Exp $ */ +/* $OpenBSD: util.h,v 1.33 2017/12/05 20:31:45 jca Exp $ */ /* $EOM: util.h,v 1.10 2000/10/24 13:33:39 niklas Exp $ */ /* @@ -60,7 +60,7 @@ extern int text2sockaddr(char *, char *, struct sockaddr **, sa_family_t, int); extern void util_ntoa(char **, int, u_int8_t *); extern int zero_test(const u_int8_t *, size_t); -extern long get_timeout(struct timeval *); +extern long get_timeout(struct timespec *); extern int expand_string(char *, size_t, const char *, const char *); #endif /* _UTIL_H_ */ |