From 8a7b9d9f454fd379a4a39f5fb4d4a4cb85466c71 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 3 Oct 2011 12:14:07 +0200 Subject: dsd2pcm: fix prototypes Fixes gcc warnings. --- src/dsd2pcm/dsd2pcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dsd2pcm/dsd2pcm.c') diff --git a/src/dsd2pcm/dsd2pcm.c b/src/dsd2pcm/dsd2pcm.c index 31f9a106d..315820f60 100644 --- a/src/dsd2pcm/dsd2pcm.c +++ b/src/dsd2pcm/dsd2pcm.c @@ -87,7 +87,7 @@ static float ctables[CTABLES][256]; static unsigned char bitreverse[256]; static int precalculated = 0; -static void precalc() +static void precalc(void) { int t, e, m, k; double acc; @@ -117,7 +117,7 @@ struct dsd2pcm_ctx_s unsigned fifopos; }; -extern dsd2pcm_ctx* dsd2pcm_init() +extern dsd2pcm_ctx* dsd2pcm_init(void) { dsd2pcm_ctx* ptr; if (!precalculated) precalc(); -- cgit v1.2.3