diff options
author | 2013-10-23 20:12:05 +0000 | |
---|---|---|
committer | 2013-10-23 20:12:05 +0000 | |
commit | 89cc2f9942e8930cf8a274d11d17dc5b7304e7dd (patch) | |
tree | 5e5a871887e2c14c8ee0cc6e4f4fc60885057186 | |
parent | Back when some NRL code was merged into KAME to create the *BSD IPV6 (diff) | |
download | wireguard-openbsd-89cc2f9942e8930cf8a274d11d17dc5b7304e7dd.tar.xz wireguard-openbsd-89cc2f9942e8930cf8a274d11d17dc5b7304e7dd.zip |
need a forward declaration of bintime for the _KERNEL case, ie. trpt
ok guenther
-rw-r--r-- | sys/sys/timeout.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/timeout.h b/sys/sys/timeout.h index 6d1cdf01c9a..8b3ae0915e8 100644 --- a/sys/sys/timeout.h +++ b/sys/sys/timeout.h @@ -1,4 +1,4 @@ -/* $OpenBSD: timeout.h,v 1.22 2012/05/24 07:17:42 guenther Exp $ */ +/* $OpenBSD: timeout.h,v 1.23 2013/10/23 20:12:05 deraadt Exp $ */ /* * Copyright (c) 2000-2001 Artur Grabowski <art@openbsd.org> * All rights reserved. @@ -82,6 +82,8 @@ struct timeout { #define timeout_initialized(to) ((to)->to_flags & TIMEOUT_INITIALIZED) #define timeout_triggered(to) ((to)->to_flags & TIMEOUT_TRIGGERED) +struct bintime; + void timeout_set(struct timeout *, void (*)(void *), void *); void timeout_add(struct timeout *, int); void timeout_add_tv(struct timeout *, const struct timeval *); |