From 52f297d144de69d494b5573920c33902063d3628 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 20 May 2016 14:24:32 -0600 Subject: [PATCH] st/wgl: remove unneeded inline qualifiers MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit No effect on size of the .o files (optimized build). Reviewed-by: José Fonseca --- src/gallium/state_trackers/wgl/stw_framebuffer.c | 4 ++-- src/gallium/state_trackers/wgl/stw_tls.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; -- 2.30.2