From bdd47f7770542c1fe6af9edcc4e8109511453c42 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 15 Apr 2024 16:16:32 -0700 Subject: [PATCH] Fixed warning: no previous extern declaration for non-static variable 'ResamplerFilter' Fixes https://github.com/libsdl-org/SDL/issues/9556 --- src/audio/SDL_audioresample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/SDL_audioresample.c b/src/audio/SDL_audioresample.c index 0e63cf370..e88c7d771 100644 --- a/src/audio/SDL_audioresample.c +++ b/src/audio/SDL_audioresample.c @@ -447,7 +447,7 @@ static float Sinc(float *table, int x, int y) return (s * y) / x; } -Cubic ResamplerFilter[RESAMPLER_SAMPLES_PER_ZERO_CROSSING][RESAMPLER_SAMPLES_PER_FRAME]; +static Cubic ResamplerFilter[RESAMPLER_SAMPLES_PER_ZERO_CROSSING][RESAMPLER_SAMPLES_PER_FRAME]; static void GenerateResamplerFilter() {