[xiph-commits] r12204 - in trunk/ao: include/ao src

conrad at svn.xiph.org conrad at svn.xiph.org
Sun Dec 10 16:42:56 PST 2006


Author: conrad
Date: 2006-12-10 16:42:53 -0800 (Sun, 10 Dec 2006)
New Revision: 12204

Modified:
   trunk/ao/include/ao/ao.h
   trunk/ao/src/audio_out.c
Log:
Add void keyword to declaration of ao_default_id() in public header.
Also make same change in implementation (src/audio_out.c). Closes ticket:1086


Modified: trunk/ao/include/ao/ao.h
===================================================================
--- trunk/ao/include/ao/ao.h	2006-12-10 15:01:49 UTC (rev 12203)
+++ trunk/ao/include/ao/ao.h	2006-12-11 00:42:53 UTC (rev 12204)
@@ -134,7 +134,7 @@
 
 /* driver information */
 int ao_driver_id(const char *short_name);
-int ao_default_driver_id();
+int ao_default_driver_id(void);
 ao_info *ao_driver_info(int driver_id);
 ao_info **ao_driver_info_list(int *driver_count);
 char *ao_file_extension(int driver_id);

Modified: trunk/ao/src/audio_out.c
===================================================================
--- trunk/ao/src/audio_out.c	2006-12-10 15:01:49 UTC (rev 12203)
+++ trunk/ao/src/audio_out.c	2006-12-11 00:42:53 UTC (rev 12204)
@@ -732,7 +732,7 @@
 }
 
 
-int ao_default_driver_id ()
+int ao_default_driver_id (void)
 {
 	/* Find the default driver in the list of loaded drivers */
   



More information about the commits mailing list