commit: Fix unused parameter warnings when compiling with ALSA sound support.

Jerry James jjames-guest at alioth.debian.org
Thu Dec 20 11:53:19 EST 2007


changeset:   4343:fb73a2046d3ebae0ec2e0e8df2aaaa254113a458
tag:         tip
user:        Jerry James <james at xemacs.org>
date:        Thu Dec 20 09:51:51 2007 -0700
files:       src/ChangeLog src/sound.c
description:
Fix unused parameter warnings when compiling with ALSA sound support.

2007-12-20  Jerry James  <james at xemacs.org>

	* sound.c: Fix unused parameter warnings when HAVE_ALSA_SOUND.


diff -r 4df309efe6fc5d5591b8d7f48b593083a55c36b4 -r fb73a2046d3ebae0ec2e0e8df2aaaa254113a458 src/ChangeLog
--- 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-18  Kenny Chien <Kenny.Chien at mor
+2007-12-20  Jerry James  <james at xemacs.org>
+
+	* sound.c: Fix unused parameter warnings when HAVE_ALSA_SOUND.
+
 2007-12-18  Kenny Chien <Kenny.Chien at morganstanley.com>
 
 	* extw-Xt.c (extw_wait_for_response): Don't use undocumented
diff -r 4df309efe6fc5d5591b8d7f48b593083a55c36b4 -r fb73a2046d3ebae0ec2e0e8df2aaaa254113a458 src/sound.c
--- 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 @@ Boston, MA 02111-1307, USA.  */
 #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)




More information about the XEmacs-Patches mailing list