summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-06-21 12:33:30 +0800
committerMarge Bot <emma+marge@anholt.net>2022-07-29 23:59:11 +0000
commit6bde428c0ac8ef4664de9f6ddc19a49c904576bb (patch)
tree3de7e34dec173186e4c81bf7dbeb42cf15e9046e /src/mapi
parent71a0ae2796e7aed5a202932f7795cfb1d372b89b (diff)
mapi: Trim trailing spaces in stub.c and u_current.c
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17213>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/stub.c2
-rw-r--r--src/mapi/u_current.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mapi/stub.c b/src/mapi/stub.c
index 2aefdbe8948..d0175272721 100644
--- a/src/mapi/stub.c
+++ b/src/mapi/stub.c
@@ -121,7 +121,7 @@ stub_find_dynamic(const char *name, int generate)
static mtx_t dynamic_mutex = _MTX_INITIALIZER_NP;
struct mapi_stub *stub = NULL;
int count, i;
-
+
mtx_lock(&dynamic_mutex);
if (generate)
diff --git a/src/mapi/u_current.c b/src/mapi/u_current.c
index cd09140592e..a2c43962e94 100644
--- a/src/mapi/u_current.c
+++ b/src/mapi/u_current.c
@@ -90,7 +90,7 @@ extern void (*__glapi_noop_table[])(void);
* thread, perhaps running on a different processor, is clearing it. Because
* of that, \c ThreadSafe, which can only ever be changed to \c GL_TRUE, is
* used to determine whether or not the application is multithreaded.
- *
+ *
* In the TLS case, the variables \c _glapi_Dispatch and \c _glapi_Context are
* hardcoded to \c NULL. Instead the TLS variables \c _glapi_tls_Dispatch and
* \c _glapi_tls_Context are used. Having \c _glapi_Dispatch and