Be sure to add "void" to all function prototypes that take no args.
Omitting "void" leads to a K&R style declaration which was not intended.
diff --git a/src/memmap.c b/src/memmap.c
index 45f5012..aa69503 100644
--- a/src/memmap.c
+++ b/src/memmap.c
@@ -42,7 +42,7 @@
// Show the current e820_list.
static void
-dump_map()
+dump_map(void)
{
dprintf(1, "e820 map has %d items:\n", e820_count);
int i;
@@ -138,14 +138,14 @@
// Prep for memmap stuff - init bios table locations.
void
-memmap_setup()
+memmap_setup(void)
{
e820_count = 0;
}
// Report on final memory locations.
void
-memmap_finalize()
+memmap_finalize(void)
{
dump_map();
}