summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2022-07-02 13:59:19 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2023-03-17 21:27:56 +0100
commit63034fbd897faa81d9bad903064399b42b685f67 (patch)
tree17149d23f4b45a744f6688a65240fbab17930ddc
parent7f876aee1642d17e69fb6b760372bcc5cfab9df3 (diff)
Fixed functions declared without a prototype warning in tools.
tools/maketrees.c:101:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] static void gen_trees_header() tools/makecrct.c:65:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] static void make_crc_table()
-rw-r--r--tools/maketrees.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/maketrees.c b/tools/maketrees.c
index 337f2fc..01e7b4d 100644
--- a/tools/maketrees.c
+++ b/tools/maketrees.c
@@ -98,7 +98,7 @@ static void tr_static_init(void) {
((i) == (last)? "\n};\n\n" : \
((i) % (width) == (width)-1 ? ",\n" : ", "))
-static void gen_trees_header() {
+static void gen_trees_header(void) {
int i;
printf("#ifndef TREES_TBL_H_\n");