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 in prototype declaratio...



details:   https://anonhg.NetBSD.org/src/rev/9758ff3340b4
branches:  trunk
changeset: 518340:9758ff3340b4
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Nov 28 16:48:11 2001 +0000

description:
No point in using __P in prototype declarations in man pages.
Complete a prototype while I'm here.

diffstat:

 share/man/man9/wdc.9 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r e59368ab35c8 -r 9758ff3340b4 share/man/man9/wdc.9
--- a/share/man/man9/wdc.9      Wed Nov 28 16:39:35 2001 +0000
+++ b/share/man/man9/wdc.9      Wed Nov 28 16:48:11 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: wdc.9,v 1.7 2001/06/21 11:51:32 wiz Exp $
+.\"    $NetBSD: wdc.9,v 1.8 2001/11/28 16:48:11 wiz Exp $
 .\"
 .\" Copyright (c) 1998 Manuel Bouyer.
 .\"
@@ -87,14 +87,14 @@
         struct channel_softc *channels;
 
         void            *dma_arg;
-        int            (*dma_init) __P((void *, int, int, void *, size_t,
-        void           (*dma_start) __P((void *, int, int, int));
-        int            (*dma_finish) __P((void *, int, int, int));
+        int            (*dma_init)(void *, int, int, void *, size_t, int);
+        void           (*dma_start)(void *, int, int, int);
+        int            (*dma_finish)(void *, int, int, int);
 #define WDC_DMA_READ 0x01
 #define WDC_DMA_POLL 0x02
 
-        int            (*claim_hw) __P((void *, int));
-        void            (*free_hw) __P((void *));
+        int            (*claim_hw)(void *, int);
+        void            (*free_hw)(void *);
 };
 
 struct channel_softc { /* Per channel data */



Home | Main Index | Thread Index | Old Index