diff options
author | 2002-06-25 16:25:42 +0000 | |
---|---|---|
committer | 2002-06-25 16:25:42 +0000 | |
commit | f889f3e3df092fd703677e1be589a97e2969badb (patch) | |
tree | aa663c1823b8e370e32a9005c50363dd46c42bad | |
parent | unnecessary cast (diff) | |
download | wireguard-openbsd-f889f3e3df092fd703677e1be589a97e2969badb.tar.xz wireguard-openbsd-f889f3e3df092fd703677e1be589a97e2969badb.zip |
protos and macros are only for _KERNEL, malliciously pollutes the user name space otherwise
-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 57a2dd5fb5f..7bc3639d86e 100644 --- a/sys/sys/timeout.h +++ b/sys/sys/timeout.h @@ -1,4 +1,4 @@ -/* $OpenBSD: timeout.h,v 1.13 2002/03/14 01:27:14 millert Exp $ */ +/* $OpenBSD: timeout.h,v 1.14 2002/06/25 16:25:42 mickey Exp $ */ /* * Copyright (c) 2000-2001 Artur Grabowski <art@openbsd.org> * All rights reserved. @@ -73,6 +73,7 @@ struct timeout { #define TIMEOUT_ONQUEUE 2 /* timeout is on the todo queue */ #define TIMEOUT_INITIALIZED 4 /* timeout is initialized */ #define TIMEOUT_TRIGGERED 8 /* timeout is running or ran */ +#ifdef _KERNEL void timeout_set(struct timeout *, void (*)(void *), void *); void timeout_add(struct timeout *, int); void timeout_del(struct timeout *); @@ -94,5 +95,6 @@ void timeout_startup(void); * softclock. */ int timeout_hardclock_update(void); +#endif /* _KERNEL */ #endif /* _SYS_TIMEOUT_H_ */ |