diff options
author | 2009-02-10 21:47:56 +0000 | |
---|---|---|
committer | 2009-02-10 21:47:56 +0000 | |
commit | 90f2763ad5e98730fb3eff27b67982415b2bfc3d (patch) | |
tree | 8b4379b1270fb4544c4ad29cb095618415b74823 /lib/libc/stdlib | |
parent | Remove iop xref, it's a pasto. (diff) | |
download | wireguard-openbsd-90f2763ad5e98730fb3eff27b67982415b2bfc3d.tar.xz wireguard-openbsd-90f2763ad5e98730fb3eff27b67982415b2bfc3d.zip |
correct function definitions; from Markus Bergkvist
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/lsearch.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/lsearch.3 b/lib/libc/stdlib/lsearch.3 index e13ef4ec749..86638ae6210 100644 --- a/lib/libc/stdlib/lsearch.3 +++ b/lib/libc/stdlib/lsearch.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: lsearch.3,v 1.8 2007/05/31 19:19:31 jmc Exp $ +.\" $OpenBSD: lsearch.3,v 1.9 2009/02/10 21:47:56 jmc Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)lsearch.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: February 10 2009 $ .Dt LSEARCH 3 .Os .Sh NAME @@ -40,10 +40,10 @@ .Fd #include <search.h> .Ft char * .Fn lsearch "const void *key" "const void *base" "size_t *nelp" \ - "size_t width" "int (*compar)(void *, void *)" + "size_t width" "int (*compar)(const void *, const void *)" .Ft char * .Fn lfind "const void *key" "const void *base" "size_t *nelp" \ - "size_t width" "int (*compar)(void *, void *)" + "size_t width" "int (*compar)(const void *, const void *)" .Sh DESCRIPTION The functions .Fn lsearch |