aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/timeout.9
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-03-19 03:18:01 +0000
committerBruce Evans <bde@FreeBSD.org>1997-03-19 03:18:01 +0000
commit21f8e39341a1543959d5da268acc800e3800d2a4 (patch)
tree5e3ff0edecca640e97dde4d1766639ecbb9e8cf1 /share/man/man9/timeout.9
parent61f8742c774af4e413ef30b71f8965b31184874f (diff)
downloadsrc-21f8e39341a1543959d5da268acc800e3800d2a4.tar.gz
src-21f8e39341a1543959d5da268acc800e3800d2a4.zip
Fixed synopsis (wrong #includes and superfluous parentheses in typedef).
Nuked the confusing timeout_func_t typedef. It will go away in <systm.h> later.
Notes
Notes: svn path=/head/; revision=24022
Diffstat (limited to 'share/man/man9/timeout.9')
-rw-r--r--share/man/man9/timeout.913
1 files changed, 5 insertions, 8 deletions
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9
index 2f6742357866..d13a9148cfae 100644
--- a/share/man/man9/timeout.9
+++ b/share/man/man9/timeout.9
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: timeout.9,v 1.3 1997/02/22 13:26:29 peter Exp $
.\" "
.Dd April 13, 1996
.Os
@@ -33,17 +33,14 @@
.Nm untimeout
.Nd schedule timer events
.Sh SYNOPSIS
+.Fd #include <sys/param.h>
.Fd #include <sys/systm.h>
-.Fd #include <sys/kernel.h>
-
-.Ft typedef void \*(lptimeout_t\*(rp \*(lpvoid *\*(rp;
-
-.Ft typedef timeout_t *timeout_func_t;
+.Ft typedef void timeout_t \*(lpvoid *\*(rp;
.Ft void
-.Fn timeout "timeout_func_t func" "void *arg" "int ticks"
+.Fn timeout "timeout_t *func" "void *arg" "int ticks"
.Ft void
-.Fn untimeout "timeout_func_t func" "void *arg"
+.Fn untimeout "timeout_t *func" "void *arg"
.Sh DESCRIPTION
The
.Nm timeout