[PATCH 3/3] gui: image_renderer: fix "no previous prototype for 'image_renderer_unregister'" warning
Antony Pavlov
antonynpavlov at gmail.com
Sun Mar 19 23:59:54 PDT 2017
The patch fixes this compiler's warning:
lib/gui/image_renderer.c:92:6: warning: no previous prototype for 'image_renderer_unregister' [-Wmissing-prototypes]
void image_renderer_unregister(struct image_renderer *ir)
^
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
include/gui/image_renderer.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/gui/image_renderer.h b/include/gui/image_renderer.h
index e0b1eae25..bfdea1b14 100644
--- a/include/gui/image_renderer.h
+++ b/include/gui/image_renderer.h
@@ -32,7 +32,7 @@ struct image_renderer {
#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);
--
2.11.0
More information about the barebox
mailing list