diff options
author | Michael Forney <mforney@mforney.org> | 2019-11-17 16:48:01 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2020-04-26 13:46:43 -0700 |
commit | 3b1fefda7f073491aacad93b4197fbfd0383c77f (patch) | |
tree | 29d8e36c9b666abf3ffd4eaee0ec57e213e25e2f /pixman/pixman-implementation.c | |
parent | 10a057e27f3a256c3b3ffc4fa71c45b0bbb783f7 (diff) | |
download | pixman-3b1fefda7f073491aacad93b4197fbfd0383c77f.tar.gz |
Prevent empty top-level declaration
The expansion of PIXMAN_DEFINE_THREAD_LOCAL(...) may end in a
function definition, so the following semicolon is considered an
empty top-level declaration, which is not allowed in ISO C.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'pixman/pixman-implementation.c')
-rw-r--r-- | pixman/pixman-implementation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-implementation.c b/pixman/pixman-implementation.c index 2c7de4c..5a2cbfe 100644 --- a/pixman/pixman-implementation.c +++ b/pixman/pixman-implementation.c @@ -63,7 +63,7 @@ typedef struct } cache [N_CACHED_FAST_PATHS]; } cache_t; -PIXMAN_DEFINE_THREAD_LOCAL (cache_t, fast_path_cache); +PIXMAN_DEFINE_THREAD_LOCAL (cache_t, fast_path_cache) static void dummy_composite_rect (pixman_implementation_t *imp, |