summaryrefslogtreecommitdiff
path: root/src/modules/checkers
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-10-11 00:24:12 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-10-11 00:24:12 -0700
commitc9929d6f14ef05306b05c567166b91f71ec66694 (patch)
treeadcf19a9e9fe92c51f43dd241e26d52c0be3deea /src/modules/checkers
parent395d9ef9dc4caa47c3af209131022293f5e364f9 (diff)
modules/checkers: staticify checkers_fragment_tile_single()
Minor oversight when this was written, this fragmenter is private to checkers.
Diffstat (limited to 'src/modules/checkers')
-rw-r--r--src/modules/checkers/checkers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/checkers/checkers.c b/src/modules/checkers/checkers.c
index 2a61559..14d6d5c 100644
--- a/src/modules/checkers/checkers.c
+++ b/src/modules/checkers/checkers.c
@@ -189,7 +189,7 @@ static void checkers_destroy_context(til_module_context_t *context)
* XXX note this fragmenter in particular really exercises fill_modules' correct handling
* of frame vs. fragment dimensions and clipping semantics
*/
-int checkers_fragment_tile_single(const til_fb_fragment_t *fragment, unsigned tile_size, unsigned number, til_fb_fragment_t *res_fragment)
+static int checkers_fragment_tile_single(const til_fb_fragment_t *fragment, unsigned tile_size, unsigned number, til_fb_fragment_t *res_fragment)
{
unsigned numw = fragment->width / tile_size, numh = fragment->height / tile_size;
unsigned x, y, xoff, yoff, xshift = 0, yshift = 0;
© All Rights Reserved