Fix ambiguous function prototypes

GCC now complains about function prototypes without parameters. This
fixes those warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=698599