From: Brian Paul Date: Fri, 20 May 2016 20:24:32 +0000 (-0600) Subject: st/wgl: remove unneeded inline qualifiers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52f297d144de69d494b5573920c33902063d3628;p=mesa.git st/wgl: remove unneeded inline qualifiers No effect on size of the .o files (optimized build). Reviewed-by: José Fonseca --- diff --git a/src/gallium/state_trackers/wgl/stw_framebuffer.c b/src/gallium/state_trackers/wgl/stw_framebuffer.c index d770adb2a55..09b57766dc0 100644 --- a/src/gallium/state_trackers/wgl/stw_framebuffer.c +++ b/src/gallium/state_trackers/wgl/stw_framebuffer.c @@ -47,7 +47,7 @@ * If a stw_framebuffer is found, lock it and return the pointer. * Else, return NULL. */ -static inline struct stw_framebuffer * +static struct stw_framebuffer * stw_framebuffer_from_hwnd_locked(HWND hwnd) { struct stw_framebuffer *fb; @@ -367,7 +367,7 @@ stw_framebuffer_cleanup(void) * Given an hdc, return the corresponding stw_framebuffer. * The returned stw_framebuffer will have its mutex locked. */ -static inline struct stw_framebuffer * +static struct stw_framebuffer * stw_framebuffer_from_hdc_locked(HDC hdc) { HWND hwnd; diff --git a/src/gallium/state_trackers/wgl/stw_tls.c b/src/gallium/state_trackers/wgl/stw_tls.c index 041066f5007..9b7d60c6d8c 100644 --- a/src/gallium/state_trackers/wgl/stw_tls.c +++ b/src/gallium/state_trackers/wgl/stw_tls.c @@ -50,7 +50,7 @@ static CRITICAL_SECTION g_mutex = { static struct stw_tls_data *g_pendingTlsData = NULL; -static inline struct stw_tls_data * +static struct stw_tls_data * stw_tls_data_create(DWORD dwThreadId); static struct stw_tls_data * @@ -111,7 +111,7 @@ stw_tls_init(void) /** * Install windows hook for a given thread (not necessarily the current one). */ -static inline struct stw_tls_data * +static struct stw_tls_data * stw_tls_data_create(DWORD dwThreadId) { struct stw_tls_data *data;