SDL: surface: `SDL_blit` is not used in the public API, remove it from headers.

From 3473cef7df5805215350eb1dc7b4fff2fe9017fd Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Fri, 3 May 2024 12:57:09 -0400
Subject: [PATCH] surface: `SDL_blit` is not used in the public API, remove it
 from headers.

---
 include/SDL3/SDL_surface.h | 6 ------
 src/video/SDL_blit.h       | 4 +++-
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h
index 4505047afe50a..7d124a6a84912 100644
--- a/include/SDL3/SDL_surface.h
+++ b/include/SDL3/SDL_surface.h
@@ -135,12 +135,6 @@ typedef struct SDL_Surface
     int refcount;               /**< Read-mostly */
 } SDL_Surface;
 
-/**
- * The type of function used for surface blitting functions.
- */
-typedef int (SDLCALL *SDL_blit) (struct SDL_Surface *src, const SDL_Rect *srcrect,
-                                 struct SDL_Surface *dst, const SDL_Rect *dstrect);
-
 
 /**
  * Allocate a new RGB surface with a specific pixel format.
diff --git a/src/video/SDL_blit.h b/src/video/SDL_blit.h
index 1ec1d61eae8ea..235ca5422cdc4 100644
--- a/src/video/SDL_blit.h
+++ b/src/video/SDL_blit.h
@@ -86,13 +86,15 @@ typedef struct
     SDL_BlitFunc func;
 } SDL_BlitFuncEntry;
 
+typedef int (SDLCALL *SDL_Blit) (struct SDL_Surface *src, const SDL_Rect *srcrect, struct SDL_Surface *dst, const SDL_Rect *dstrect);
+
 /* Blit mapping definition */
 /* typedef'ed in SDL_surface.h */
 struct SDL_BlitMap
 {
     SDL_Surface *dst;
     int identity;
-    SDL_blit blit;
+    SDL_Blit blit;
     void *data;
     SDL_BlitInfo info;