From 07b3814628a30efb7b11bf4fdcb7bdb9783e2762 Mon Sep 17 00:00:00 2001 From: Akuli Date: Tue, 14 Jan 2025 20:45:09 +0200 Subject: [PATCH] Fix new compiler warning --- bootstrap_compiler/jou_compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap_compiler/jou_compiler.h b/bootstrap_compiler/jou_compiler.h index c00ad5a7..47f2f0c5 100644 --- a/bootstrap_compiler/jou_compiler.h +++ b/bootstrap_compiler/jou_compiler.h @@ -431,7 +431,7 @@ extern const Type *byteType; // byte (8-bit unsigned) extern const Type *floatType; // float (32-bit) extern const Type *doubleType; // double (64-bit) extern const Type *voidPtrType; // void* -void init_types(); // Called once when compiler starts +void init_types(void); // Called once when compiler starts const Type *get_integer_type(int size_in_bits, bool is_signed); const Type *get_pointer_type(const Type *t); // result lives as long as t const Type *get_array_type(const Type *t, int len); // result lives as long as t