diff --git a/themed/base.html b/themed/base.html index 3ecef0b..9dd65a5 100644 --- a/themed/base.html +++ b/themed/base.html @@ -1,4 +1,4 @@ -{! static int get_num_commits(); static int get_num_branches(); static int get_num_tags(); static void short_commit_id(char *hex); !} +{! static int get_num_commits(void); static int get_num_branches(void); static int get_num_tags(void); static void short_commit_id(char *hex); !} {% block page_start %} @@ -141,7 +141,7 @@ {% endblock %} {! - static int get_num_commits() { + static int get_num_commits(void) { int num_commits = 0; // Based on ui-stats collect_stats @@ -173,7 +173,7 @@ return num_commits; } - static int get_num_branches() { + static int get_num_branches(void) { struct reflist list; list.refs = NULL; list.alloc = list.count = 0; @@ -183,7 +183,7 @@ return num_branches; } - static int get_num_tags() { + static int get_num_tags(void) { struct reflist list; list.refs = NULL; list.alloc = list.count = 0; diff --git a/ui-commit.h b/ui-commit.h index 68ccf4c..c76f55e 100644 --- a/ui-commit.h +++ b/ui-commit.h @@ -1,6 +1,6 @@ #ifndef UI_COMMIT_H #define UI_COMMIT_H -extern void cgit_print_commit(); +extern void cgit_print_commit(void); #endif /* UI_COMMIT_H */ diff --git a/ui-tree.h b/ui-tree.h index 943d631..2212e16 100644 --- a/ui-tree.h +++ b/ui-tree.h @@ -4,6 +4,6 @@ extern void cgit_tree_print_binary_buffer(char *buf, unsigned long size); extern void cgit_tree_print_text_buffer(const char *name, char *buf, unsigned long size); -extern void cgit_print_tree(); +extern void cgit_print_tree(void); #endif /* UI_TREE_H */