diff --git a/gfx/common/win32_common.h b/gfx/common/win32_common.h index 477bf4e026..73b040ca2a 100644 --- a/gfx/common/win32_common.h +++ b/gfx/common/win32_common.h @@ -99,20 +99,12 @@ void win32_window_reset(void); void win32_destroy_window(void); -#ifndef _MSC_VER -extern "C" { -#endif - LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); LRESULT CALLBACK WndProcGL(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); -#ifndef _MSC_VER -} -#endif - #ifdef _XBOX BOOL IsIconic(HWND hwnd); #endif diff --git a/ui/drivers/ui_win32.c b/ui/drivers/ui_win32.c index 53381f4788..6ffbd30505 100644 --- a/ui/drivers/ui_win32.c +++ b/ui/drivers/ui_win32.c @@ -113,9 +113,6 @@ typedef struct int parameters_start_y; } shader_dlg_t; -extern LRESULT CALLBACK WndProcGL(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); -extern LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); - static shader_dlg_t g_shader_dlg = {0}; static INLINE void shader_dlg_refresh_trackbar_label(int index)