From be8de76c3e14547badca9fa4309adeeb909afcf1 Mon Sep 17 00:00:00 2001 From: Jared Yanovich Date: Sat, 6 Aug 2005 03:19:24 +0000 Subject: sync function prototypes to reality; ok jmc --- lib/libc/string/bm.3 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/libc/string/bm.3 b/lib/libc/string/bm.3 index 772b0d372e7..b586a633988 100644 --- a/lib/libc/string/bm.3 +++ b/lib/libc/string/bm.3 @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: bm.3,v 1.7 2003/06/02 20:18:38 millert Exp $ +.\" $OpenBSD: bm.3,v 1.8 2005/08/06 03:19:23 jaredy Exp $ .\" .Dd June 29, 1999 .Dt BM 3 @@ -42,9 +42,10 @@ .Fd #include .Fd #include .Ft bm_pat * -.Fn bm_comp "u_char *pattern" "size_t patlen" "u_char freq[256]" -.Ft u_char * -.Fn bm_exec "bm_pat *pdesc" "u_char *text" "size_t len" +.Fn bm_comp "const unsigned char *pattern" "size_t patlen" \ + "const unsigned char freq[256]" +.Ft unsigned char * +.Fn bm_exec "bm_pat *pdesc" "unsigned char *text" "size_t len" .Ft void .Fn bm_free "bm_pat *pdesc" .Sh DESCRIPTION -- cgit v1.2.3