Skip to content

Commit 1749aba

Browse files
Sackzementsezero
authored andcommitted
Fixed a few "-Wredundant-decls" warnings
1 parent 550d95e commit 1749aba

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/audio/alsa/SDL_alsa_audio.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ static void (*ALSA_snd_pcm_info_set_device)(snd_pcm_info_t *, unsigned int);
9898
static void (*ALSA_snd_pcm_info_set_subdevice)(snd_pcm_info_t *, unsigned int);
9999
static void (*ALSA_snd_pcm_info_set_stream)(snd_pcm_info_t *, snd_pcm_stream_t);
100100
static int (*ALSA_snd_ctl_pcm_info)(snd_ctl_t *, snd_pcm_info_t *);
101-
static unsigned int (*ALSA_snd_pcm_info_get_subdevices_count)(const snd_pcm_info_t *);
102101
static const char *(*ALSA_snd_ctl_card_info_get_id)(const snd_ctl_card_info_t *);
103102
static const char *(*ALSA_snd_pcm_info_get_name)(const snd_pcm_info_t *);
104103
static const char *(*ALSA_snd_pcm_info_get_subdevice_name)(const snd_pcm_info_t *);

src/haptic/hidapi/SDL_hidapihaptic.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
#include "SDL3/SDL_mutex.h"
2828
#include "SDL3/SDL_error.h"
2929

30-
extern struct SDL_JoystickDriver SDL_HIDAPI_JoystickDriver;
31-
3230
typedef struct haptic_list_node
3331
{
3432
SDL_Haptic *haptic;

0 commit comments

Comments
 (0)