Module Name:    src
Committed By:   isaki
Date:           Sun Dec  2 09:18:26 UTC 2018

Modified Files:
        src/share/man/man9: audio.9

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


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/share/man/man9/audio.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/audio.9
diff -u src/share/man/man9/audio.9:1.47 src/share/man/man9/audio.9:1.48
--- src/share/man/man9/audio.9:1.47	Mon May 28 00:18:06 2018
+++ src/share/man/man9/audio.9	Sun Dec  2 09:18:26 2018
@@ -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 @@ struct audio_hw_if {
 
 	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 @@ It should fill the
 .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 @@ The reason for using a device dependent 
 .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

Reply via email to