Subject: lib/18668: form_field_buffer.3 misses prototype for set_max_field()
To: None <gnats-bugs@gnats.netbsd.org>
From: None <xs@kittenz.org>
List: netbsd-bugs
Date: 10/16/2002 13:45:33
>Number:         18668
>Category:       lib
>Synopsis:       form_field_buffer.3 misses prototype for set_max_field()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 16 06:11:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6I
>Organization:
>Environment:
System: NetBSD stasis 1.6I NetBSD 1.6I (STASIS) #8: Thu Oct 10 13:02:47 BST 2002 xs@stasis:/usr/src/sys/arch/i386/compile/STASIS i386
Architecture: i386
Machine: i386
/usr/src/lib/libform/form_field_buffer.3:
     $NetBSD: form_field_buffer.3,v 1.7 2002/10/01 19:15:16 wiz Exp $
>Description:
	form_field_buffer.3 talks about, but does not give the prototype
	for, set_max_field().
>How-To-Repeat:
	man form_field_buffer
>Fix:
Index: form_field_buffer.3
===================================================================
RCS file: /cvsroot/basesrc/lib/libform/form_field_buffer.3,v
retrieving revision 1.7
diff -u -r1.7 form_field_buffer.3
--- form_field_buffer.3	2002/10/01 19:15:16	1.7
+++ form_field_buffer.3	2002/10/13 15:19:20
@@ -54,6 +54,8 @@
 .Fn set_field_printf "FIELD *field" "int buffer" "char *fmt" "..."
 .Ft int
 .Fn set_field_status "FIELD *field" "int status"
+.Ft int
+.Fn set_max_field "FIELD *field" "int max"
 .Sh DESCRIPTION
 The
 .Fn field_buffer
>Release-Note:
>Audit-Trail:
>Unformatted: