diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-02-10 21:47:57 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-02-10 21:47:57 +0000 |
commit | 1106eed868fa86f4d40c130a20798a27103cc7fd (patch) | |
tree | 195f9c5a334884f47b79ba7db7fb6491d2908ce3 /lib/libc/stdlib/lsearch.3 | |
parent | a881fff789c11f2495459bcb93b8d4106e340666 (diff) |
correct function definitions; from Markus Bergkvist
Diffstat (limited to 'lib/libc/stdlib/lsearch.3')
-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 |