CFLAGS="-Werror=missing-prototypes" ./autogen.sh --prefix=/usr && make && sudo make install
Warnings
mate-power-manager.make.log:brightness-applet.c:910:1: warning: no previous prototype for function 'gpm_brightness_applet_dbus_connect' [-Wmissing-prototypes]
mate-power-manager.make.log:brightness-applet.c:954:1: warning: no previous prototype for function 'gpm_brightness_applet_dbus_disconnect' [-Wmissing-prototypes]
mate-power-manager.make.log:brightness-applet.c:982:1: warning: no previous prototype for function 'gpm_brightness_applet_name_vanished_cb' [-Wmissing-prototypes]
mate-power-manager.make.log:inhibit-applet.c:362:1: warning: no previous prototype for function 'gpm_inhibit_applet_dbus_connect' [-Wmissing-prototypes]
mate-power-manager.make.log:inhibit-applet.c:399:1: warning: no previous prototype for function 'gpm_inhibit_applet_dbus_disconnect' [-Wmissing-prototypes]
mate-power-manager.make.log:inhibit-applet.c:429:1: warning: no previous prototype for function 'gpm_inhibit_applet_name_vanished_cb' [-Wmissing-prototypes]
Test:
Warnings