summaryrefslogtreecommitdiff
path: root/media-gfx/rotoscope/files/rotoscope-0.2-fix_clang16_build.patch
blob: 01a1f96be4ec9472718cc7929d086c8a826e1468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Clang16 does not allow implicit function declarations by default.

See also: https://wiki.gentoo.org/wiki/Modern_C_porting
Bug: https://bugs.gentoo.org/875764

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>

--- a/src/main.c
+++ b/src/main.c
@@ -49,6 +49,9 @@ GList* edge_list = NULL;
 MouseState mouse_state = IDLE;
 Vertex last_click;
 
+/* Function prototypes */
+gboolean redraw_render_area( GtkWidget* widget, GdkEventExpose* event, gpointer user_data );
+
 /* Functionality and callback functions */
 void clear_edge_list()
 {