changeset 4343:fb73a2046d3e

Fix unused parameter warnings when compiling with ALSA sound support. 2007-12-20 Jerry James <james@xemacs.org> * sound.c: Fix unused parameter warnings when HAVE_ALSA_SOUND.
author Jerry James <james@xemacs.org>
date Thu, 20 Dec 2007 09:51:51 -0700
parents 4df309efe6fc
children 2511b50f39c6
files src/ChangeLog src/sound.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Dec 20 02:58:07 2007 -0800
+++ b/src/ChangeLog	Thu Dec 20 09:51:51 2007 -0700
@@ -1,3 +1,7 @@
+2007-12-20  Jerry James  <james@xemacs.org>
+
+	* sound.c: Fix unused parameter warnings when HAVE_ALSA_SOUND.
+
 2007-12-18  Kenny Chien <Kenny.Chien@morganstanley.com>
 
 	* extw-Xt.c (extw_wait_for_response): Don't use undocumented
--- a/src/sound.c	Thu Dec 20 02:58:07 2007 -0800
+++ b/src/sound.c	Thu Dec 20 09:51:51 2007 -0700
@@ -64,7 +64,7 @@
 #endif
 
 #if defined(HAVE_NATIVE_SOUND) || defined(HAVE_NAS_SOUND) \
-  || defined(HAVE_ESD_SOUND)
+  || defined(HAVE_ALSA_SOUND) || defined(HAVE_ESD_SOUND)
 #define USED_IF_HAVE_ANY(decl) decl
 #else
 #define USED_IF_HAVE_ANY(decl) UNUSED (decl)