File 0004-Add-missing-void-argument-for-function-declarations.patch of Package timidity
From d8357d6db147702a45c727817e94f44c9fcf70d0 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Wed, 30 May 2012 13:13:55 +0200
Subject: [PATCH 4/9] Add missing void argument for function declarations
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
libunimod/mloader.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libunimod/mloader.c b/libunimod/mloader.c
index 7cf5efa..876aaca 100644
--- a/libunimod/mloader.c
+++ b/libunimod/mloader.c
@@ -527,7 +527,7 @@ SL_RegisterSample (SAMPLE * s, URL reader)
}
static void
-FreeSampleList ()
+FreeSampleList (void)
{
SAMPLOAD *old, *s = musiclist;
@@ -543,7 +543,7 @@ FreeSampleList ()
/* Returns the total amount of memory required by the musiclist queue. */
#ifdef MAX_SAMPLESPACE
static ULONG
-SampleTotal ()
+SampleTotal (void)
{
int total = 0;
SAMPLOAD *samplist = musiclist;
--
1.7.9.2