SDL_net: api: Rename NET_GetVersion to NET_Version to match other satellite libraries.

From 8f5d9df8e42eb31e68aa3aed74ba2ab380e3001e Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 24 Jul 2025 13:02:23 -0400
Subject: [PATCH] api: Rename NET_GetVersion to NET_Version to match other
 satellite libraries.

Reference https://github.com/libsdl-org/SDL_mixer/issues/709
---
 .wikiheaders-options       | 2 +-
 include/SDL3_net/SDL_net.h | 4 ++--
 src/SDL_net.c              | 2 +-
 src/SDL_net.sym            | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.wikiheaders-options b/.wikiheaders-options
index ed9e0b0..5eeb672 100644
--- a/.wikiheaders-options
+++ b/.wikiheaders-options
@@ -2,7 +2,7 @@ projectfullname = SDL_net
 projectshortname = SDL_net
 incsubdir = include/SDL3_net
 wikisubdir = SDL3_net
-apiprefixregex = NET_
+apiprefixregex = (NET_|SDL_NET_)
 mainincludefname = SDL3_net/SDL_net.h
 versionfname = include/SDL3_net/SDL_net.h
 versionmajorregex = \A\#define\s+SDL_NET_MAJOR_VERSION\s+(\d+)\Z
diff --git a/include/SDL3_net/SDL_net.h b/include/SDL3_net/SDL_net.h
index c6f49b9..8f60473 100644
--- a/include/SDL3_net/SDL_net.h
+++ b/include/SDL3_net/SDL_net.h
@@ -72,7 +72,7 @@ extern "C" {
  *
  * \since This macro is available since SDL_net 3.0.0.
  *
- * \sa NET_GetVersion
+ * \sa NET_Version
  */
 #define SDL_NET_VERSION \
     SDL_VERSIONNUM(SDL_NET_MAJOR_VERSION, SDL_NET_MINOR_VERSION, SDL_NET_MICRO_VERSION)
@@ -95,7 +95,7 @@ extern "C" {
  *
  * \since This function is available since SDL_net 3.0.0.
  */
-extern SDL_DECLSPEC int SDLCALL NET_GetVersion(void);
+extern SDL_DECLSPEC int SDLCALL NET_Version(void);
 
 
 /* init/quit functions... */
diff --git a/src/SDL_net.c b/src/SDL_net.c
index da8758e..c054858 100644
--- a/src/SDL_net.c
+++ b/src/SDL_net.c
@@ -93,7 +93,7 @@ typedef enum NET_SocketType
 } NET_SocketType;
 
 
-int NET_GetVersion(void)
+int NET_Version(void)
 {
     return SDL_NET_VERSION;
 }
diff --git a/src/SDL_net.sym b/src/SDL_net.sym
index d7420ca..d7b8a93 100644
--- a/src/SDL_net.sym
+++ b/src/SDL_net.sym
@@ -16,7 +16,7 @@ SDL3_net_0.0.0 {
     NET_GetLocalAddresses;
     NET_GetStreamSocketAddress;
     NET_GetStreamSocketPendingWrites;
-    NET_GetVersion;
+    NET_Version;
     NET_Init;
     NET_Quit;
     NET_ReadFromStreamSocket;