Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libform The argument of .Fn should look like this:



details:   https://anonhg.NetBSD.org/src/rev/a3ec544af514
branches:  trunk
changeset: 534913:a3ec544af514
user:      wiz <wiz%NetBSD.org@localhost>
date:      Tue Aug 06 12:44:34 2002 +0000

description:
The argument of .Fn should look like this:
.Fn function_name "int first" "char *second"
not like this:
.Fn function_name "int first, char *second".

diffstat:

 lib/libform/form_driver.3           |   4 ++--
 lib/libform/form_field.3            |   6 +++---
 lib/libform/form_field_attributes.3 |   8 ++++----
 lib/libform/form_field_buffer.3     |   8 ++++----
 lib/libform/form_field_just.3       |   4 ++--
 lib/libform/form_field_new.3        |   6 +++---
 lib/libform/form_field_opts.3       |   8 ++++----
 lib/libform/form_field_userptr.3    |   4 ++--
 lib/libform/form_field_validation.3 |   4 ++--
 lib/libform/form_fieldtype.3        |   4 ++--
 lib/libform/form_hook.3             |  10 +++++-----
 lib/libform/form_new_page.3         |   4 ++--
 lib/libform/form_opts.3             |   8 ++++----
 lib/libform/form_page.3             |   6 +++---
 lib/libform/form_userptr.3          |   4 ++--
 lib/libform/form_win.3              |   8 ++++----
 16 files changed, 48 insertions(+), 48 deletions(-)

diffs (truncated from 340 to 300 lines):

diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_driver.3
--- a/lib/libform/form_driver.3 Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_driver.3 Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_driver.3,v 1.4 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_driver.3,v 1.5 2002/08/06 12:44:34 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -40,7 +40,7 @@
 .Sh SYNOPSIS
 .Fd #include \*[Lt]form.h\*[Gt]
 .Ft int
-.Fn form_driver "FORM *form, int request"
+.Fn form_driver "FORM *form" "int request"
 .Sh DESCRIPTION
 The
 .Fn form_driver
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_field.3
--- a/lib/libform/form_field.3  Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_field.3  Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_field.3,v 1.4 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_field.3,v 1.5 2002/08/06 12:44:34 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -47,9 +47,9 @@
 .Ft FIELD **
 .Fn form_fields "FORM *form"
 .Ft int
-.Fn move_field "FIELD *field, int frow, int fcol"
+.Fn move_field "FIELD *field" "int frow" "int fcol"
 .Ft int
-.Fn set_form_fields "FORM *form, FIELD **fields"
+.Fn set_form_fields "FORM *form" " FIELD **fields"
 .Sh DESCRIPTION
 The
 .Fn field_count
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_field_attributes.3
--- a/lib/libform/form_field_attributes.3       Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_field_attributes.3       Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_field_attributes.3,v 1.4 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_field_attributes.3,v 1.5 2002/08/06 12:44:34 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -51,11 +51,11 @@
 .Ft int
 .Fn field_pad "FIELD *field"
 .Ft int
-.Fn set_field_back "FIELD *field, chtype attribute"
+.Fn set_field_back "FIELD *field" "chtype attribute"
 .Ft int
-.Fn set_field_fore "FIELD *field, chtype attribute"
+.Fn set_field_fore "FIELD *field" "chtype attribute"
 .Ft int
-.Fn set_field_pad "FIELD *field, int pad"
+.Fn set_field_pad "FIELD *field" "int pad"
 .Sh DESCRIPTION
 Calling the function
 .Fn field_back
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_field_buffer.3
--- a/lib/libform/form_field_buffer.3   Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_field_buffer.3   Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_field_buffer.3,v 1.4 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_field_buffer.3,v 1.5 2002/08/06 12:44:34 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -44,13 +44,13 @@
 .Sh SYNOPSIS
 .Fd #include \*[Lt]form.h\*[Gt]
 .Ft char *
-.Fn field_buffer "FIELD *field, int buffer"
+.Fn field_buffer "FIELD *field" "int buffer"
 .Ft int
 .Fn field_status "FIELD *field"
 .Ft int
-.Fn set_field_buffer "FIELD *field, int buffer, char *value"
+.Fn set_field_buffer "FIELD *field" "int buffer" "char *value"
 .Ft int
-.Fn set_field_status "FIELD *field, int status"
+.Fn set_field_status "FIELD *field" "int status"
 .Sh DESCRIPTION
 The
 .Fn field_buffer
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_field_just.3
--- a/lib/libform/form_field_just.3     Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_field_just.3     Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_field_just.3,v 1.4 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_field_just.3,v 1.5 2002/08/06 12:44:34 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -43,7 +43,7 @@
 .Ft int
 .Fn field_just "FIELD *field"
 .Ft int
-.Fn set_field_just "FIELD *field, int justification"
+.Fn set_field_just "FIELD *field" "int justification"
 .Sh DESCRIPTION
 Field justification is only applied to static fields, a dynamic field
 will not be justified.  The default justification for a field is
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_field_new.3
--- a/lib/libform/form_field_new.3      Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_field_new.3      Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_field_new.3,v 1.5 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_field_new.3,v 1.6 2002/08/06 12:44:35 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -43,11 +43,11 @@
 .Sh SYNOPSIS
 .Fd #include \*[Lt]form.h\*[Gt]
 .Ft FIELD *
-.Fn dup_field "FIELD *field, int frow, int fcol"
+.Fn dup_field "FIELD *field" "int frow" "int fcol"
 .Ft int
 .Fn free_field "FIELD *field"
 .Ft FIELD *
-.Fn link_field "FIELD *field, int frow, int fcol"
+.Fn link_field "FIELD *field" "int frow" "int fcol"
 .Ft FIELD *
 .Fo new_field
 .Fa "int rows"
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_field_opts.3
--- a/lib/libform/form_field_opts.3     Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_field_opts.3     Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_field_opts.3,v 1.4 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_field_opts.3,v 1.5 2002/08/06 12:44:35 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -45,11 +45,11 @@
 .Ft Form_Options
 .Fn field_opts "FIELD *field"
 .Ft int
-.Fn field_opts_off "FIELD *field, Form_Options options"
+.Fn field_opts_off "FIELD *field" "Form_Options options"
 .Ft int
-.Fn field_opts_on "FIELD *field, Form_Options options"
+.Fn field_opts_on "FIELD *field" "Form_Options options"
 .Ft int
-.Fn set_field_opts "FIELD *field, Form_Options options"
+.Fn set_field_opts "FIELD *field" "Form_Options options"
 .Sh DESCRIPTION
 The function
 .Fn field_opts
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_field_userptr.3
--- a/lib/libform/form_field_userptr.3  Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_field_userptr.3  Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_field_userptr.3,v 1.4 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_field_userptr.3,v 1.5 2002/08/06 12:44:35 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -43,7 +43,7 @@
 .Ft void *
 .Fn field_userptr "FIELD *field"
 .Ft int
-.Fn set_field_userptr "FIELD *field, void *ptr"
+.Fn set_field_userptr "FIELD *field" "void *ptr"
 .Sh DESCRIPTION
 The
 .Fn field_userptr
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_field_validation.3
--- a/lib/libform/form_field_validation.3       Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_field_validation.3       Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_field_validation.3,v 1.4 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_field_validation.3,v 1.5 2002/08/06 12:44:35 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -46,7 +46,7 @@
 .Ft FIELDTYPE *
 .Fn field_type "FIELD *field"
 .Ft int
-.Fn set_field_type "FIELD *field, FIELDTYPE *type, ..."
+.Fn set_field_type "FIELD *field" "FIELDTYPE *type" "..."
 .Sh DESCRIPTION
 The
 .Fn field_arg
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_fieldtype.3
--- a/lib/libform/form_fieldtype.3      Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_fieldtype.3      Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_fieldtype.3,v 1.4 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_fieldtype.3,v 1.5 2002/08/06 12:44:35 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -46,7 +46,7 @@
 .Ft int
 .Fn free_fieldtype "FIELDTYPE *fieldtype"
 .Ft FIELDTYPE *
-.Fn link_fieldtype "FIELDTYPE *type1, FIELDTYPE *type2"
+.Fn link_fieldtype "FIELDTYPE *type1" "FIELDTYPE *type2"
 .Ft FIELDTYPE *
 .Fo new_fieldtype
 .Fa "int (*field_check)(FIELD *, char *)"
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_hook.3
--- a/lib/libform/form_hook.3   Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_hook.3   Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_hook.3,v 1.4 2002/02/20 11:30:58 wiz Exp $
+.\"    $NetBSD: form_hook.3,v 1.5 2002/08/06 12:44:35 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -55,13 +55,13 @@
 .Ft void (*)(FORM *)
 .Fn form_term "FORM *form"
 .Ft int
-.Fn set_field_init "FORM *form, void (*function)(FORM *)"
+.Fn set_field_init "FORM *form" "void (*function)(FORM *)"
 .Ft int
-.Fn set_field_term "FORM *form, void (*function)(FORM *)"
+.Fn set_field_term "FORM *form" "void (*function)(FORM *)"
 .Ft int
-.Fn set_form_init "FORM *form, void (*function)(FORM *)"
+.Fn set_form_init "FORM *form" "void (*function)(FORM *)"
 .Ft int
-.Fn set_form_term "FORM *form, void (*function)(FORM *)"
+.Fn set_form_term "FORM *form" "void (*function)(FORM *)"
 .Sh DESCRIPTION
 The
 .Fn field_init
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_new_page.3
--- a/lib/libform/form_new_page.3       Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_new_page.3       Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_new_page.3,v 1.4 2002/02/20 11:30:59 wiz Exp $
+.\"    $NetBSD: form_new_page.3,v 1.5 2002/08/06 12:44:35 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -43,7 +43,7 @@
 .Ft int
 .Fn new_page "FIELD *field"
 .Ft int
-.Fn set_new_page "FIELD *field, int page"
+.Fn set_new_page "FIELD *field" "int page"
 .Sh DESCRIPTION
 The
 .Fn new_page
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_opts.3
--- a/lib/libform/form_opts.3   Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_opts.3   Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_opts.3,v 1.4 2002/02/20 11:30:59 wiz Exp $
+.\"    $NetBSD: form_opts.3,v 1.5 2002/08/06 12:44:35 wiz Exp $
 .\"
 .\" Copyright (c) 2001
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -45,11 +45,11 @@
 .Ft Form_Options
 .Fn form_opts "FORM *form"
 .Ft int
-.Fn form_opts_off "FORM *form, Form_Options options"
+.Fn form_opts_off "FORM *form" "Form_Options options"
 .Ft int
-.Fn form_opts_on "FORM *form, Form_Options options"
+.Fn form_opts_on "FORM *form" "Form_Options options"
 .Ft int
-.Fn set_form_opts "FORM *form, Form_Options options"
+.Fn set_form_opts "FORM *form" "Form_Options options"
 .Sh DESCRIPTION
 The function
 .Fn form_opts
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_page.3
--- a/lib/libform/form_page.3   Tue Aug 06 12:35:39 2002 +0000
+++ b/lib/libform/form_page.3   Tue Aug 06 12:44:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: form_page.3,v 1.4 2002/02/20 11:30:35 wiz Exp $
+.\"    $NetBSD: form_page.3,v 1.5 2002/08/06 12:44:35 wiz Exp $
 .\"
 .\" Copyright (c) 1999
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -53,9 +53,9 @@
 .Ft int
 .Fn form_max_page "FORM *form"
 .Ft int
-.Fn set_current_field "FORM *form, FIELD *field"
+.Fn set_current_field "FORM *form" "FIELD *field"
 .Ft int
-.Fn set_form_page "FORM *form, int page"
+.Fn set_form_page "FORM *form" "int page"
 .Sh DESCRIPTION
 The
 .Fn current_field
diff -r 761c16ca28ef -r a3ec544af514 lib/libform/form_userptr.3
--- a/lib/libform/form_userptr.3        Tue Aug 06 12:35:39 2002 +0000



Home | Main Index | Thread Index | Old Index