Add UNUSED() macro to ux_audio_none.c.
authorDavid Griffith <dave@661.org>
Wed, 15 Jun 2016 08:06:01 +0000 (01:06 -0700)
committerDavid Griffith <dave@661.org>
Wed, 15 Jun 2016 08:06:01 +0000 (01:06 -0700)
src/curses/ux_audio_none.c

index fd58864ab85c5b61c3981ef29e90355dd5692f56..5711e6d17d3de399b3bb6e009513c2587e908ee3 100644 (file)
@@ -51,7 +51,7 @@ void os_init_sound(void)
  *
  */
 
-void os_beep (int number)
+void os_beep (int UNUSED(number))
 {
 
     beep();
@@ -65,7 +65,7 @@ void os_beep (int number)
  *
  */
 
-void os_prepare_sample (int number)
+void os_prepare_sample (int UNUSED(number))
 {
 
     /* Not implemented */
@@ -84,7 +84,7 @@ void os_prepare_sample (int number)
  *
  */
 
-void os_start_sample (int number, int volume, int repeats, zword eos)
+void os_start_sample (int UNUSED(number), int UNUSED(volume), int UNUSED(repeats), zword UNUSED(eos))
 {
 
     /* Not implemented */
@@ -98,7 +98,7 @@ void os_start_sample (int number, int volume, int repeats, zword eos)
  *
  */
 
-void os_stop_sample (int number)
+void os_stop_sample (int UNUSED(number))
 {
 
     /* Not implemented */
@@ -112,7 +112,7 @@ void os_stop_sample (int number)
  *
  */
 
-void os_finish_with_sample (number)
+void os_finish_with_sample (int UNUSED(number))
 {
 
     /* Not implemented */