From 580dbd65749a2caa4aa57e85e749b50c11f99284 Mon Sep 17 00:00:00 2001 From: Joel Dahl Date: Tue, 4 Jun 2013 07:37:06 +0000 Subject: [PATCH] mdoc: convert .Fd to .In, which is much nicer. --- lib/libc/gen/dl_iterate_phdr.3 | 2 +- lib/libc/net/getaddrinfo.3 | 6 +++--- lib/libc/net/getnameinfo.3 | 6 +++--- share/man/man3/offsetof.3 | 2 +- usr.bin/m4/lib/ohash_init.3 | 6 +++--- usr.bin/m4/lib/ohash_interval.3 | 6 +++--- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/libc/gen/dl_iterate_phdr.3 b/lib/libc/gen/dl_iterate_phdr.3 index f148ab104c4e..5b8afc6a09f4 100644 --- a/lib/libc/gen/dl_iterate_phdr.3 +++ b/lib/libc/gen/dl_iterate_phdr.3 @@ -29,7 +29,7 @@ Statically linked programs use an implementation of .Fn dl_iterate_phdr from libc. .Sh SYNOPSIS -.Fd #include +.In link.h .Ft int .Fn dl_iterate_phdr "int (*callback)(struct dl_phdr_info *, size_t, void *)" "void *data" .Sh DESCRIPTION diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3 index 3419809915f2..c55a493503a9 100644 --- a/lib/libc/net/getaddrinfo.3 +++ b/lib/libc/net/getaddrinfo.3 @@ -26,9 +26,9 @@ .Nm freeaddrinfo .Nd socket address structure to host and service name .Sh SYNOPSIS -.Fd #include -.Fd #include -.Fd #include +.In sys/types.h +.In sys/socket.h +.In netdb.h .Ft int .Fo getaddrinfo .Fa "const char *hostname" "const char *servname" diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3 index e508e5ddbd84..a904e8ccf705 100644 --- a/lib/libc/net/getnameinfo.3 +++ b/lib/libc/net/getnameinfo.3 @@ -25,9 +25,9 @@ .Nm getnameinfo .Nd socket address structure to hostname and service name .Sh SYNOPSIS -.Fd #include -.Fd #include -.Fd #include +.In sys/types.h +.In sys/socket.h +.In netdb.h .Ft int .Fo getnameinfo .Fa "const struct sockaddr *sa" "socklen_t salen" "char *host" diff --git a/share/man/man3/offsetof.3 b/share/man/man3/offsetof.3 index e63916b18483..9b3f568e1386 100644 --- a/share/man/man3/offsetof.3 +++ b/share/man/man3/offsetof.3 @@ -23,7 +23,7 @@ .Nm offsetof .Nd offset of a structure member .Sh SYNOPSIS -.Fd #include +.In stddef.h .Ft size_t .Fn offsetof "type" "member" .Sh DESCRIPTION diff --git a/usr.bin/m4/lib/ohash_init.3 b/usr.bin/m4/lib/ohash_init.3 index 19213f300402..e0b232077465 100644 --- a/usr.bin/m4/lib/ohash_init.3 +++ b/usr.bin/m4/lib/ohash_init.3 @@ -31,9 +31,9 @@ .Nm ohash_entries .Nd light-weight open hashing .Sh SYNOPSIS -.Fd #include -.Fd #include -.Fd #include +.In stdint.h +.In stddef.h +.In ohash.h .Ft void .Fn ohash_init "struct ohash *h" "unsigned int size" "struct ohash_info *info" .Ft void diff --git a/usr.bin/m4/lib/ohash_interval.3 b/usr.bin/m4/lib/ohash_interval.3 index 12e762036ff5..8abe7a842bf8 100644 --- a/usr.bin/m4/lib/ohash_interval.3 +++ b/usr.bin/m4/lib/ohash_interval.3 @@ -25,9 +25,9 @@ .Nm ohash_qlookupi .Nd helper functions for open hashing .Sh SYNOPSIS -.Fd #include -.Fd #include -.Fd #include +.In stdint.h +.In stddef.h +.In ohash.h .Ft uint32_t .Fn ohash_interval "const char *start" "const char **pend" .Ft "void *"