summaryrefslogtreecommitdiffstats
path: root/include/gui
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui')
-rw-r--r--include/gui/2d-primitives.h2
-rw-r--r--include/gui/image_renderer.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/include/gui/2d-primitives.h b/include/gui/2d-primitives.h
index 06216bb03c..4fbddfae25 100644
--- a/include/gui/2d-primitives.h
+++ b/include/gui/2d-primitives.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
#ifndef __2D_PRIMITIVES__
#define __2D_PRIMITIVES__
diff --git a/include/gui/image_renderer.h b/include/gui/image_renderer.h
index bfdea1b14e..323ad741b3 100644
--- a/include/gui/image_renderer.h
+++ b/include/gui/image_renderer.h
@@ -53,7 +53,10 @@ static inline struct image *image_renderer_open(const char* file)
static inline void image_renderer_close(struct image *img) {}
-int image_renderer_image(struct surface *s, struct image *img);
+static inline int image_renderer_image(struct screen *sc, struct surface *s, struct image *img)
+{
+ return -EINVAL;
+}
#endif
static inline int image_renderer_file(struct screen *sc, struct surface *s, const char* file)