Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 No point in using __P for prototype declarati...
details: https://anonhg.NetBSD.org/src/rev/e59368ab35c8
branches: trunk
changeset: 518339:e59368ab35c8
user: kleink <kleink%NetBSD.org@localhost>
date: Wed Nov 28 16:39:35 2001 +0000
description:
No point in using __P for prototype declarations in a manual page.
diffstat:
share/man/man9/mbuf.9 | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r aa4879cdaf04 -r e59368ab35c8 share/man/man9/mbuf.9
--- a/share/man/man9/mbuf.9 Wed Nov 28 14:29:13 2001 +0000
+++ b/share/man/man9/mbuf.9 Wed Nov 28 16:39:35 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: mbuf.9,v 1.17 2001/09/04 02:51:16 wiz Exp $
+.\" $NetBSD: mbuf.9,v 1.18 2001/11/28 16:39:35 kleink Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -83,7 +83,7 @@
.Ft struct mbuf *
.Fn m_gethdr "int nowait" "int type"
.Ft struct mbuf *
-.Fn m_devget "char *buf" "int totlen" "int off0" "struct ifnet *ifp" "void (*copy) __P((const void *, void *, size_t))"
+.Fn m_devget "char *buf" "int totlen" "int off0" "struct ifnet *ifp" "void (*copy)(const void *, void *, size_t)"
.Ft struct mbuf *
.Fn m_copym "struct mbuf *m" "int off0" "int len" "int wait"
.Ft struct mbuf *
@@ -123,7 +123,7 @@
.Ft void
.Fn MEXTMALLOC "struct mbuf *m" "int len" "int how"
.Ft void
-.Fn MEXTADD "struct mbuf *m" "caddr_t buf" "int type" "void (*free) __P((caddr_t, u_int, void *))" "void *arg"
+.Fn MEXTADD "struct mbuf *m" "caddr_t buf" "int type" "void (*free)(caddr_t, u_int, void *)" "void *arg"
.Ft void
.Fn MCLGET "struct mbuf *m" "int how"
.Ft void
@@ -277,7 +277,7 @@
The
.Fa type
parameter is an mbuf type.
-.It Fn m_devget "char *buf" "int totlen" "int off0" "struct ifnet *ifp" "void (*copy) __P((const void *, void *, size_t))"
+.It Fn m_devget "char *buf" "int totlen" "int off0" "struct ifnet *ifp" "void (*copy)(const void *, void *, size_t)"
Copies
.Fa len
bytes from device local memory into mbufs using copy routine
@@ -493,7 +493,7 @@
.Dv M_EXT
is set upon success.
Implemented as a macro.
-.It Fn MEXTADD "struct mbuf *m" "caddr_t buf" "int type" "void (*free) __P((caddr_t, u_int, void *))" "void *arg"
+.It Fn MEXTADD "struct mbuf *m" "caddr_t buf" "int type" "void (*free)(caddr_t, u_int, void *)" "void *arg"
Adds pre-allocated external storage
.Fa buf
to a normal mbuf
Home |
Main Index |
Thread Index |
Old Index