summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/makecrct.c2
-rw-r--r--tools/maketrees.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/makecrct.c b/tools/makecrct.c
index 8ed0cf5cfd..b5469b7d39 100644
--- a/tools/makecrct.c
+++ b/tools/makecrct.c
@@ -62,7 +62,7 @@ static void write_table64(const z_word_t *table, int k);
information needed to generate CRCs on data a byte at a time for all
combinations of CRC register values and incoming bytes.
*/
-static void make_crc_table() {
+static void make_crc_table(void) {
unsigned i, j, n;
uint32_t p;
diff --git a/tools/maketrees.c b/tools/maketrees.c
index 97688c7aae..2c32ccae08 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");