diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c b/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c index 5bc513c75b..f21ff98cbb 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c @@ -26,9 +26,9 @@ #include "gstvkwindow_win32.h" -LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, +static LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); -LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, +static LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); enum @@ -488,7 +488,7 @@ gst_vulkan_window_win32_show (GstVulkanWindowWin32 * window) /* PRIVATE */ -LRESULT CALLBACK +static LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { GstVulkanWindowWin32 *window_win32; @@ -553,7 +553,7 @@ window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) return ret; } -LRESULT FAR PASCAL +static LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { WNDPROC window_parent_proc = GetProp (hWnd, "vulkan_window_parent_proc"); diff --git a/subprojects/gst-plugins-base/gst-libs/gst/gl/win32/gstglwindow_win32.c b/subprojects/gst-plugins-base/gst-libs/gst/gl/win32/gstglwindow_win32.c index 29849d4691..b53d2785d8 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/gl/win32/gstglwindow_win32.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/gl/win32/gstglwindow_win32.c @@ -25,9 +25,9 @@ #include "gstglwindow_win32.h" -LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, +static LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); -LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, +static LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); enum @@ -534,7 +534,7 @@ gst_gl_window_win32_handle_mouse_event (GstGLWindow * window, UINT uMsg, /* PRIVATE */ -LRESULT CALLBACK +static LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { GstGLWindowWin32 *window_win32; @@ -644,7 +644,7 @@ window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) return ret; } -LRESULT FAR PASCAL +static LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { WNDPROC window_parent_proc = GetProp (hWnd, "gl_window_parent_proc");