Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net Make SYNOPSIS accurate about required headers.



details:   https://anonhg.NetBSD.org/src/rev/c3d4477072e5
branches:  trunk
changeset: 534926:c3d4477072e5
user:      soren <soren%NetBSD.org@localhost>
date:      Tue Aug 06 16:08:47 2002 +0000

description:
Make SYNOPSIS accurate about required headers.
Fixes PR lib/11021 from wiz.

diffstat:

 lib/libc/net/ethers.3 |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8790c42669ec -r c3d4477072e5 lib/libc/net/ethers.3
--- a/lib/libc/net/ethers.3     Tue Aug 06 15:42:55 2002 +0000
+++ b/lib/libc/net/ethers.3     Tue Aug 06 16:08:47 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ethers.3,v 1.10 2002/02/07 07:00:20 ross Exp $
+.\"    $NetBSD: ethers.3,v 1.11 2002/08/06 16:08:47 soren Exp $
 .\"
 .\" Written by roland%frob.com@localhost.  Public domain.
 .\"
@@ -15,6 +15,9 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
+.Fd #include \*[Lt]sys/types.h\*[Gt]
+.Fd #include \*[Lt]sys/socket.h\*[Gt]
+.Fd #include \*[Lt]net/if.h\*[Gt]
 .Fd #include \*[Lt]net/if_ether.h\*[Gt]
 .Ft char *
 .Fn ether_ntoa "struct ether_addr *e"



Home | Main Index | Thread Index | Old Index