From b033314bf1901d436dc71d41d5e1f37dda47e511 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 12 Dec 2024 16:03:08 +0100 Subject: formatting: Use clang-format on all projects This commit also add braces to all `if` statements. --- userland/libc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'userland/libc/Makefile') diff --git a/userland/libc/Makefile b/userland/libc/Makefile index e5aeff1..19dabe6 100644 --- a/userland/libc/Makefile +++ b/userland/libc/Makefile @@ -6,6 +6,7 @@ OBJ=crt0.o libc.o malloc/malloc.o pty.o sys/mman/mmap.o sys/mman/munmap.o memset all: libc.a %.o: %.c + clang-format -i $< $(CC) $(CFLAGS) -I. -o $@ -c $< %.o: %.s -- cgit v1.2.3