From b8cc51875acb604dba5afe8b2686aea096d905ef Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 23 Oct 2023 19:36:14 -0700 Subject: [PATCH] Fixed build --- src/audio/alsa/SDL_alsa_audio.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/audio/alsa/SDL_alsa_audio.c b/src/audio/alsa/SDL_alsa_audio.c index 6f05686f9..5d12e1751 100644 --- a/src/audio/alsa/SDL_alsa_audio.c +++ b/src/audio/alsa/SDL_alsa_audio.c @@ -687,13 +687,6 @@ static int ALSA_OpenDevice(SDL_AudioDevice *device) return 0; // We're ready to rock and roll. :-) } -typedef struct ALSA_Device -{ - char *name; - SDL_bool iscapture; - struct ALSA_Device *next; -} ALSA_Device; - static void add_device(const SDL_bool iscapture, const char *name, void *hint, ALSA_Device **pSeen) { ALSA_Device *dev = SDL_malloc(sizeof(ALSA_Device));