CFLAGS="-Werror=missing-prototypes" ./autogen.sh --prefix=/usr && make && sudo make install
Warnings:
callbacks.c:120:1: error: no previous prototype for function 'on_menu_expand_activate' [-Werror,-Wmissing-prototypes]
on_menu_expand_activate (GtkMenuItem *menuitem, gpointer user_data)
^
callbacks.c:119:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void
^
static
callbacks.c:126:1: error: no previous prototype for function 'on_menu_collapse_activate' [-Werror,-Wmissing-prototypes]
on_menu_collapse_activate (GtkMenuItem *menuitem, gpointer user_data)
^
callbacks.c:125:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void
^
static
Test:
Warnings: