diff --git a/drivers/clk/clk-gate-shared.c b/drivers/clk/clk-gate-shared.c index a95f940..c3b678a 100644 --- a/drivers/clk/clk-gate-shared.c +++ b/drivers/clk/clk-gate-shared.c @@ -69,8 +69,8 @@ .is_enabled = clk_gate_shared_is_enabled, }; -struct clk *clk_gate_shared_alloc(const char *name, const char *parent, const char *companion, - unsigned flags) +static struct clk *clk_gate_shared_alloc(const char *name, const char *parent, + const char *companion, unsigned flags) { struct clk_gate_shared *g = xzalloc(sizeof(*g)); @@ -86,7 +86,7 @@ return &g->clk; } -void clk_gate_shared_free(struct clk *clk) +static void clk_gate_shared_free(struct clk *clk) { struct clk_gate_shared *g = to_clk_gate_shared(clk); diff --git a/include/gui/image_renderer.h b/include/gui/image_renderer.h index e0b1eae..bfdea1b 100644 --- a/include/gui/image_renderer.h +++ b/include/gui/image_renderer.h @@ -32,7 +32,7 @@ #ifdef CONFIG_IMAGE_RENDERER int image_renderer_register(struct image_renderer *ir); -void image_render_unregister(struct image_renderer *ir); +void image_renderer_unregister(struct image_renderer *ir); int image_renderer_image(struct screen *sc, struct surface *s, struct image *img); diff --git a/lib/gui/bmp.c b/lib/gui/bmp.c index 143aa28..8bffc70 100644 --- a/lib/gui/bmp.c +++ b/lib/gui/bmp.c @@ -9,7 +9,7 @@ #include #include -struct image *bmp_open(char *inbuf, int insize) +static struct image *bmp_open(char *inbuf, int insize) { struct image *img = calloc(1, sizeof(struct image)); struct bmp_image *bmp = (struct bmp_image*)inbuf; @@ -30,7 +30,7 @@ return img; } -void bmp_close(struct image *img) +static void bmp_close(struct image *img) { free(img->data); }