summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-10-19 13:46:02 +0200
committerRay <[email protected]>2023-10-19 13:46:02 +0200
commitb674e344a878613881d5e8d0e9f86176e4c0a56f (patch)
tree7f00c4506084d4bf6d2468364ba7b089499720be /src
parent65dd0afb60770f88d863283aed7098a474535183 (diff)
downloadraylib-b674e344a878613881d5e8d0e9f86176e4c0a56f.tar.gz
raylib-b674e344a878613881d5e8d0e9f86176e4c0a56f.zip
REVIEWED: Issue with symbols exposure
Diffstat (limited to 'src')
-rw-r--r--src/platforms/rcore_android.c4
-rw-r--r--src/platforms/rcore_desktop.c4
-rw-r--r--src/platforms/rcore_desktop_sdl.c5
-rw-r--r--src/platforms/rcore_drm.c4
-rw-r--r--src/platforms/rcore_template.c4
-rw-r--r--src/platforms/rcore_web.c4
6 files changed, 13 insertions, 12 deletions
diff --git a/src/platforms/rcore_android.c b/src/platforms/rcore_android.c
index bf55ece2..ddf0c7a4 100644
--- a/src/platforms/rcore_android.c
+++ b/src/platforms/rcore_android.c
@@ -80,8 +80,8 @@ static PlatformData platform = { 0 }; // Platform specific data
//----------------------------------------------------------------------------------
// Module Internal Functions Declaration
//----------------------------------------------------------------------------------
-static int InitPlatform(void); // Initialize platform (graphics, inputs and more)
-static void ClosePlatform(void); // Close platform
+int InitPlatform(void); // Initialize platform (graphics, inputs and more)
+void ClosePlatform(void); // Close platform
static void AndroidCommandCallback(struct android_app *app, int32_t cmd); // Process Android activity lifecycle commands
static int32_t AndroidInputCallback(struct android_app *app, AInputEvent *event); // Process Android inputs
diff --git a/src/platforms/rcore_desktop.c b/src/platforms/rcore_desktop.c
index 29969d4c..4dec2c77 100644
--- a/src/platforms/rcore_desktop.c
+++ b/src/platforms/rcore_desktop.c
@@ -111,8 +111,8 @@ static PlatformData platform = { 0 }; // Platform specific data
//----------------------------------------------------------------------------------
// Module Internal Functions Declaration
//----------------------------------------------------------------------------------
-static int InitPlatform(void); // Initialize platform (graphics, inputs and more)
-static void ClosePlatform(void); // Close platform
+int InitPlatform(void); // Initialize platform (graphics, inputs and more)
+void ClosePlatform(void); // Close platform
// Error callback event
static void ErrorCallback(int error, const char *description); // GLFW3 Error Callback, runs on GLFW3 error
diff --git a/src/platforms/rcore_desktop_sdl.c b/src/platforms/rcore_desktop_sdl.c
index c574b819..b6472433 100644
--- a/src/platforms/rcore_desktop_sdl.c
+++ b/src/platforms/rcore_desktop_sdl.c
@@ -199,8 +199,9 @@ static const int CursorsLUT[] = {
//----------------------------------------------------------------------------------
// Module Internal Functions Declaration
//----------------------------------------------------------------------------------
-static int InitPlatform(void); // Initialize platform (graphics, inputs and more)
-static void ClosePlatform(void); // Close platform
+int InitPlatform(void); // Initialize platform (graphics, inputs and more)
+void ClosePlatform(void); // Close platform
+
static KeyboardKey ConvertScancodeToKey(SDL_Scancode sdlScancode); // Help convert SDL scancodes to raylib key
//----------------------------------------------------------------------------------
diff --git a/src/platforms/rcore_drm.c b/src/platforms/rcore_drm.c
index 3302ec36..4df40e5b 100644
--- a/src/platforms/rcore_drm.c
+++ b/src/platforms/rcore_drm.c
@@ -138,8 +138,8 @@ static PlatformData platform = { 0 }; // Platform specific data
//----------------------------------------------------------------------------------
// Module Internal Functions Declaration
//----------------------------------------------------------------------------------
-static int InitPlatform(void); // Initialize platform (graphics, inputs and more)
-static void ClosePlatform(void); // Close platform
+int InitPlatform(void); // Initialize platform (graphics, inputs and more)
+void ClosePlatform(void); // Close platform
static void InitKeyboard(void); // Initialize raw keyboard system
static void RestoreKeyboard(void); // Restore keyboard system
diff --git a/src/platforms/rcore_template.c b/src/platforms/rcore_template.c
index f94cca8c..87aca16d 100644
--- a/src/platforms/rcore_template.c
+++ b/src/platforms/rcore_template.c
@@ -71,8 +71,8 @@ static PlatformData platform = { 0 }; // Platform specific data
//----------------------------------------------------------------------------------
// Module Internal Functions Declaration
//----------------------------------------------------------------------------------
-static int InitPlatform(void); // Initialize platform (graphics, inputs and more)
-static bool InitGraphicsDevice(void); // Initialize graphics device
+int InitPlatform(void); // Initialize platform (graphics, inputs and more)
+bool InitGraphicsDevice(void); // Initialize graphics device
//----------------------------------------------------------------------------------
// Module Functions Declaration
diff --git a/src/platforms/rcore_web.c b/src/platforms/rcore_web.c
index 465bb895..bfc5bd79 100644
--- a/src/platforms/rcore_web.c
+++ b/src/platforms/rcore_web.c
@@ -85,8 +85,8 @@ static PlatformData platform = { 0 }; // Platform specific data
//----------------------------------------------------------------------------------
// Module Internal Functions Declaration
//----------------------------------------------------------------------------------
-static int InitPlatform(void); // Initialize platform (graphics, inputs and more)
-static void ClosePlatform(void); // Close platform
+int InitPlatform(void); // Initialize platform (graphics, inputs and more)
+void ClosePlatform(void); // Close platform
// Error callback event
static void ErrorCallback(int error, const char *description); // GLFW3 Error Callback, runs on GLFW3 error