Browse Source

Fixed build

Sam Lantinga 1 year ago
parent
commit
b8cc51875a
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/audio/alsa/SDL_alsa_audio.c

+ 0 - 7
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. :-)
     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)
 static void add_device(const SDL_bool iscapture, const char *name, void *hint, ALSA_Device **pSeen)
 {
 {
     ALSA_Device *dev = SDL_malloc(sizeof(ALSA_Device));
     ALSA_Device *dev = SDL_malloc(sizeof(ALSA_Device));