From b77b3c00be5547ec50166dc07fd7ed8f5835be94 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 12 Jan 2001 15:46:56 +0000 Subject: mdoc(7) police: Ft/Vt now accept punctuation-type arguments. --- lib/libc/gen/exec.3 | 2 +- lib/libc/gen/psignal.3 | 4 ++-- lib/libc/net/gethostbyname.3 | 2 +- lib/libc/stdlib/getopt.3 | 10 +++++----- lib/libc/stdlib/getsubopt.3 | 2 +- lib/libc/stdtime/ctime.3 | 2 +- lib/libc/string/strerror.3 | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3 index 1845e829c5d9..5826804d59c2 100644 --- a/lib/libc/gen/exec.3 +++ b/lib/libc/gen/exec.3 @@ -47,7 +47,7 @@ .Lb libc .Sh SYNOPSIS .Fd #include -.Vt extern char **environ; +.Vt extern char **environ ; .Ft int .Fn execl "const char *path" "const char *arg" ... .Ft int diff --git a/lib/libc/gen/psignal.3 b/lib/libc/gen/psignal.3 index ad033e32748f..3ea6216e1e6d 100644 --- a/lib/libc/gen/psignal.3 +++ b/lib/libc/gen/psignal.3 @@ -47,8 +47,8 @@ .Fd #include .Ft void .Fn psignal "unsigned sig" "const char *s" -.Vt extern const char * const sys_siglist[]; -.Vt extern const char * const sys_signame[]; +.Vt extern const char * const sys_siglist[] ; +.Vt extern const char * const sys_signame[] ; .Fd #include .Ft "char *" .Fn strsignal "int sig" diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3 index c26e2605c524..3c20288a1cb0 100644 --- a/lib/libc/net/gethostbyname.3 +++ b/lib/libc/net/gethostbyname.3 @@ -49,7 +49,7 @@ .Lb libc .Sh SYNOPSIS .Fd #include -.Vt extern int h_errno; +.Vt extern int h_errno ; .Ft struct hostent * .Fn gethostbyname "const char *name" .Ft struct hostent * diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index f5c145f8a2a1..d9d69c1411d7 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -42,11 +42,11 @@ .Lb libc .Sh SYNOPSIS .Fd #include -.Vt extern char *optarg; -.Vt extern int optind; -.Vt extern int optopt; -.Vt extern int opterr; -.Vt extern int optreset; +.Vt extern char *optarg ; +.Vt extern int optind ; +.Vt extern int optopt ; +.Vt extern int opterr ; +.Vt extern int optreset ; .Ft int .Fn getopt "int argc" "char * const *argv" "const char *optstring" .Sh DESCRIPTION diff --git a/lib/libc/stdlib/getsubopt.3 b/lib/libc/stdlib/getsubopt.3 index 1efd64ef1a48..c085a73ac353 100644 --- a/lib/libc/stdlib/getsubopt.3 +++ b/lib/libc/stdlib/getsubopt.3 @@ -42,7 +42,7 @@ .Lb libc .Sh SYNOPSIS .Fd #include -.Vt extern char *suboptarg +.Vt extern char *suboptarg ; .Ft int .Fn getsubopt "char **optionp" "char * const *tokens" "char **valuep" .Sh DESCRIPTION diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3 index 69cfb12c5f76..326a2c1dba91 100644 --- a/lib/libc/stdtime/ctime.3 +++ b/lib/libc/stdtime/ctime.3 @@ -54,7 +54,7 @@ .Lb libc .Sh SYNOPSIS .Fd #include -.Vt extern char *tzname[2]; +.Vt extern char *tzname[2] ; .Ft char * .Fn ctime "const time_t *clock" .Ft double diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3 index 31499259d2d7..762f89d35ee6 100644 --- a/lib/libc/string/strerror.3 +++ b/lib/libc/string/strerror.3 @@ -51,8 +51,8 @@ .Fd #include .Ft void .Fn perror "const char *string" -.Vt extern const char * const sys_errlist[]; -.Vt extern const int sys_nerr; +.Vt extern const char * const sys_errlist[] ; +.Vt extern const int sys_nerr ; .Fd #include .Ft char * .Fn strerror "int errnum" -- cgit v1.2.3