Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Add forward declaration for struct audio_params.



details:   https://anonhg.NetBSD.org/src/rev/78bcb5c53871
branches:  trunk
changeset: 571667:78bcb5c53871
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Dec 06 13:28:34 2004 +0000

description:
Add forward declaration for struct audio_params.
Fixes compilation of e.g. macppc with awacs(4).
Ok kent@.

diffstat:

 sys/dev/auconv.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 1aafdde0ff86 -r 78bcb5c53871 sys/dev/auconv.h
--- a/sys/dev/auconv.h  Mon Dec 06 13:18:54 2004 +0000
+++ b/sys/dev/auconv.h  Mon Dec 06 13:28:34 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auconv.h,v 1.10 2004/11/13 08:08:22 kent Exp $ */
+/*     $NetBSD: auconv.h,v 1.11 2004/12/06 13:28:34 wiz Exp $  */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -140,6 +140,7 @@
 #define        AUFMT_IS_VALID(fmt)     (((fmt)->mode & 0x80000000) == 0)
 
 struct audio_encoding_set;
+struct audio_params;
 extern int auconv_set_converter(const struct audio_format *, int,
                                int, struct audio_params *, int);
 extern int auconv_create_encodings(const struct audio_format *, int,



Home | Main Index | Thread Index | Old Index