From 1749aba641f9fd6520916d70683c3fa7ca9e2d20 Mon Sep 17 00:00:00 2001 From: Petar Popovic Date: Sat, 26 Jul 2025 19:35:06 +0200 Subject: [PATCH] Fixed a few "-Wredundant-decls" warnings --- src/audio/alsa/SDL_alsa_audio.c | 1 - src/haptic/hidapi/SDL_hidapihaptic.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/audio/alsa/SDL_alsa_audio.c b/src/audio/alsa/SDL_alsa_audio.c index 6575eb04a3..97783cd92f 100644 --- a/src/audio/alsa/SDL_alsa_audio.c +++ b/src/audio/alsa/SDL_alsa_audio.c @@ -98,7 +98,6 @@ static void (*ALSA_snd_pcm_info_set_device)(snd_pcm_info_t *, unsigned int); static void (*ALSA_snd_pcm_info_set_subdevice)(snd_pcm_info_t *, unsigned int); static void (*ALSA_snd_pcm_info_set_stream)(snd_pcm_info_t *, snd_pcm_stream_t); static int (*ALSA_snd_ctl_pcm_info)(snd_ctl_t *, snd_pcm_info_t *); -static unsigned int (*ALSA_snd_pcm_info_get_subdevices_count)(const snd_pcm_info_t *); static const char *(*ALSA_snd_ctl_card_info_get_id)(const snd_ctl_card_info_t *); static const char *(*ALSA_snd_pcm_info_get_name)(const snd_pcm_info_t *); static const char *(*ALSA_snd_pcm_info_get_subdevice_name)(const snd_pcm_info_t *); diff --git a/src/haptic/hidapi/SDL_hidapihaptic.c b/src/haptic/hidapi/SDL_hidapihaptic.c index 7f59f6c90b..c3abc862e8 100644 --- a/src/haptic/hidapi/SDL_hidapihaptic.c +++ b/src/haptic/hidapi/SDL_hidapihaptic.c @@ -27,8 +27,6 @@ #include "SDL3/SDL_mutex.h" #include "SDL3/SDL_error.h" -extern struct SDL_JoystickDriver SDL_HIDAPI_JoystickDriver; - typedef struct haptic_list_node { SDL_Haptic *haptic;