aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-05-20 14:24:32 -0600
committerBrian Paul <[email protected]>2016-06-30 12:43:50 -0600
commit52f297d144de69d494b5573920c33902063d3628 (patch)
tree210922c9282c0f62c86eec2c2bf57add6546126e /src/gallium
parent395ee18bacf04a9aac6996bca8364bde24f2f3b0 (diff)
st/wgl: remove unneeded inline qualifiers
No effect on size of the .o files (optimized build). Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/wgl/stw_framebuffer.c4
-rw-r--r--src/gallium/state_trackers/wgl/stw_tls.c4
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;