summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2005-08-06 03:19:24 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2005-08-06 03:19:24 +0000
commitbe8de76c3e14547badca9fa4309adeeb909afcf1 (patch)
tree618787b6a9602b2282eec03f2d7dd5d59e219d92
parenta58a0aa32f71ccd2152a378839c56f16c3dda04f (diff)
sync function prototypes to reality; ok jmc
-rw-r--r--lib/libc/string/bm.39
1 files 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 <sys/types.h>
.Fd #include <bm.h>
.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