From 3b8b07ee2eb21e043a56cdc548e2be34857adb00 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 24 Aug 2021 17:12:57 +0200 Subject: replace () with (void) in function definitions `()` means that any amt of arguments will be accepted, which isn't what i want --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d9078f0..4ecac81 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PATH := $(shell pwd)/toolchain/bin/:$(PATH) AS = i686-elf-as CC = i686-elf-gcc -CFLAGS = -std=gnu99 -ffreestanding -O2 -Wall -Wextra +CFLAGS = -std=gnu99 -ffreestanding -O2 -Wall -Wextra -Wold-style-declaration -Wold-style-definition CFLAGS += -mgeneral-regs-only CFLAGS += -Isrc/ LFLAGS = -ffreestanding -O2 -nostdlib -lgcc -- cgit v1.2.3