treewide: Use new style function definitions

This commit is contained in:
Guido Günther
2020-09-11 18:15:02 +02:00
parent c26feed8b2
commit 306c11f1fd
4 changed files with 5 additions and 5 deletions

View File

@ -241,7 +241,7 @@ static GType new_type(char *name) {
);
}
static GType view_type() {
static GType view_type(void) {
static GType type = 0;
if (!type) {
type = new_type("sq_view");
@ -249,7 +249,7 @@ static GType view_type() {
return type;
}
static GType button_type() {
static GType button_type(void) {
static GType type = 0;
if (!type) {
type = new_type("sq_button");