From 063804ab9bb13b95b54b258ccf4005bf5fcd13b0 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 30 Jul 2024 21:39:17 -0700
Subject: [PATCH] Renamed "struct _Mix_Music" to "struct Mix_Music"
(cherry picked from commit 2463fa9689f5a5831835f481d2622a6cd1909471)
(cherry picked from commit 72c6405651d8c0f18819b75ee7c2b60d48b79476)
---
include/SDL_mixer.h | 2 +-
src/music.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/SDL_mixer.h b/include/SDL_mixer.h
index 0fa6456b0..45c95f175 100644
--- a/include/SDL_mixer.h
+++ b/include/SDL_mixer.h
@@ -266,7 +266,7 @@ typedef enum Mix_MusicType {
/**
* The internal format for a music chunk interpreted via codecs
*/
-typedef struct _Mix_Music Mix_Music;
+typedef struct Mix_Music Mix_Music;
/**
* Open the default audio device for playback.
diff --git a/src/music.c b/src/music.c
index 0916a7cfe..eda3a0d60 100644
--- a/src/music.c
+++ b/src/music.c
@@ -60,7 +60,7 @@ static int music_volume = MIX_MAX_VOLUME;
static Mix_Music * volatile music_playing = NULL;
SDL_AudioSpec music_spec;
-struct _Mix_Music {
+struct Mix_Music {
Mix_MusicInterface *interface;
void *context;