Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Sync prototypes with reality. These have bee...



details:   https://anonhg.NetBSD.org/src/rev/d43dc087c6e1
branches:  trunk
changeset: 446357:d43dc087c6e1
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sun Dec 02 09:18:26 2018 +0000

description:
Sync prototypes with reality.  These have been changed in 2011.

diffstat:

 share/man/man9/audio.9 |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r ada12d78f79a -r d43dc087c6e1 share/man/man9/audio.9
--- a/share/man/man9/audio.9    Sun Dec 02 08:19:44 2018 +0000
+++ b/share/man/man9/audio.9    Sun Dec 02 09:18:26 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: audio.9,v 1.47 2018/05/28 00:18:06 nat Exp $
+.\"    $NetBSD: audio.9,v 1.48 2018/12/02 09:18:26 isaki Exp $
 .\"
 .\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -75,8 +75,8 @@
 
        int     (*query_devinfo)(void *, mixer_devinfo_t *);
 
-       void    *(*allocm)(void *, int, size_t, struct malloc_type *, int);
-       void    (*freem)(void *, void *, struct malloc_type *);
+       void    *(*allocm)(void *, int, size_t);
+       void    (*freem)(void *, void *, size_t);
        size_t  (*round_buffersize)(void *, int, size_t);
        paddr_t (*mappage)(void *, void *, off_t, int);
 
@@ -409,8 +409,7 @@
 .Va mixer_devinfo_t
 struct.
 Return 0 on success, otherwise an error code.
-.It Dv "void *allocm(void *hdl, int direction, size_t size, struct malloc_type *type, int flags)"
-.Pp
+.It Dv "void *allocm(void *hdl, int direction, size_t size)"
 optional, is called to allocate the device buffers.
 If not present
 .Xr malloc 9
@@ -419,7 +418,7 @@
 .Xr malloc 9
 is that some buses need special allocation to do DMA.
 Returns the address of the buffer, or 0 on failure.
-.It Dv void freem(void *hdl, void *addr, struct malloc_type *type)
+.It Dv void freem(void *hdl, void *addr, size_t size)
 optional, is called to free memory allocated by
 .Va alloc .
 If not supplied



Home | Main Index | Thread Index | Old Index