From d745b9c582f3f9903e7735b6e86a47bcb944fade Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Wed, 24 Dec 2025 22:01:52 +0100
Subject: [PATCH] Trailing semicolon is embedded in SDL_ELF_NOTE_DLOPEN
---
Xcode/iOS/SDL3.framework/Headers/SDL_dlopennote.h | 2 +-
.../SDL3.framework/Versions/A/Headers/SDL_dlopennote.h | 2 +-
src/IMG_avif.c | 2 +-
src/IMG_jpg.c | 2 +-
src/IMG_jxl.c | 2 +-
src/IMG_libpng.c | 2 +-
src/IMG_tif.c | 2 +-
src/IMG_webp.c | 6 +++---
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Xcode/iOS/SDL3.framework/Headers/SDL_dlopennote.h b/Xcode/iOS/SDL3.framework/Headers/SDL_dlopennote.h
index da145eed5..b25edf4e8 100644
--- a/Xcode/iOS/SDL3.framework/Headers/SDL_dlopennote.h
+++ b/Xcode/iOS/SDL3.framework/Headers/SDL_dlopennote.h
@@ -207,7 +207,7 @@
"\",\"description\":\"" description \
"\",\"priority\":\"" priority \
"\",\"soname\":" SDL_SONAME_ARRAY(__VA_ARGS__) "}]", \
- SDL_ELF_NOTE_UNIQUE_NAME)
+ SDL_ELF_NOTE_UNIQUE_NAME);
#elif defined(__GNUC__) && __GNUC__ < 3
diff --git a/Xcode/macOS/SDL3.framework/Versions/A/Headers/SDL_dlopennote.h b/Xcode/macOS/SDL3.framework/Versions/A/Headers/SDL_dlopennote.h
index da145eed5..b25edf4e8 100644
--- a/Xcode/macOS/SDL3.framework/Versions/A/Headers/SDL_dlopennote.h
+++ b/Xcode/macOS/SDL3.framework/Versions/A/Headers/SDL_dlopennote.h
@@ -207,7 +207,7 @@
"\",\"description\":\"" description \
"\",\"priority\":\"" priority \
"\",\"soname\":" SDL_SONAME_ARRAY(__VA_ARGS__) "}]", \
- SDL_ELF_NOTE_UNIQUE_NAME)
+ SDL_ELF_NOTE_UNIQUE_NAME);
#elif defined(__GNUC__) && __GNUC__ < 3
diff --git a/src/IMG_avif.c b/src/IMG_avif.c
index 5844e2ef8..75baf0981 100644
--- a/src/IMG_avif.c
+++ b/src/IMG_avif.c
@@ -43,7 +43,7 @@ SDL_ELF_NOTE_DLOPEN(
"Support for AVIF images using libavif",
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
LOAD_AVIF_DYNAMIC
-);
+)
#endif
diff --git a/src/IMG_jpg.c b/src/IMG_jpg.c
index 70df88b96..67a499d71 100644
--- a/src/IMG_jpg.c
+++ b/src/IMG_jpg.c
@@ -56,7 +56,7 @@ SDL_ELF_NOTE_DLOPEN(
"Support for JPEG images using libjpg",
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
LOAD_JPG_DYNAMIC
-);
+)
#endif
#include <jpeglib.h>
diff --git a/src/IMG_jxl.c b/src/IMG_jxl.c
index e1544f1b1..35cf2160c 100644
--- a/src/IMG_jxl.c
+++ b/src/IMG_jxl.c
@@ -31,7 +31,7 @@ SDL_ELF_NOTE_DLOPEN(
"Support for JPEG XL images using libjxl",
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
LOAD_JXL_DYNAMIC
-);
+)
#endif
#include <jxl/decode.h>
diff --git a/src/IMG_libpng.c b/src/IMG_libpng.c
index 8c7a2853f..1d3b65846 100644
--- a/src/IMG_libpng.c
+++ b/src/IMG_libpng.c
@@ -42,7 +42,7 @@ SDL_ELF_NOTE_DLOPEN(
"Support for PNG images using libpng",
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
LOAD_LIBPNG_DYNAMIC
-);
+)
#endif
#ifndef PNG_DISPOSE_OP_NONE
diff --git a/src/IMG_tif.c b/src/IMG_tif.c
index 38011dc25..ea0cfd7d6 100644
--- a/src/IMG_tif.c
+++ b/src/IMG_tif.c
@@ -35,7 +35,7 @@ SDL_ELF_NOTE_DLOPEN(
"Support for TIFF images using libtiff",
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
LOAD_TIF_DYNAMIC
-);
+)
#endif
static struct {
diff --git a/src/IMG_webp.c b/src/IMG_webp.c
index 09ff0348c..2c5b345c3 100644
--- a/src/IMG_webp.c
+++ b/src/IMG_webp.c
@@ -48,7 +48,7 @@ SDL_ELF_NOTE_DLOPEN(
"Support for WebP images using libwebp",
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
LOAD_WEBP_DYNAMIC
-);
+)
#endif
#ifdef LOAD_WEBPDEMUX_DYNAMIC
@@ -57,7 +57,7 @@ SDL_ELF_NOTE_DLOPEN(
"Support for WebP images using libwebp",
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
LOAD_WEBPDEMUX_DYNAMIC
-);
+)
#endif
#ifdef LOAD_WEBPMUX_DYNAMIC
@@ -66,7 +66,7 @@ SDL_ELF_NOTE_DLOPEN(
"Support for WebP images using libwebp",
SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED,
LOAD_WEBPMUX_DYNAMIC
-);
+)
#endif
#endif