From 37217cf1b921a2a6e128b6134518912f0bd57f62 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 30 Jun 2025 23:15:23 +0200 Subject: Factor out translation unit includes to seperate header This allows both the usual build compiler and an LSP server like `clangd` to correctly locate symbols throughout every subunit. Signed-off-by: Mel --- boot/catboot.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'boot/catboot.c') diff --git a/boot/catboot.c b/boot/catboot.c index f716e4f..fac6273 100644 --- a/boot/catboot.c +++ b/boot/catboot.c @@ -24,11 +24,7 @@ #include #include -#include "common.c" -#include "lex.c" -#include "tree.c" -#include "parse.c" -#include "visit.c" +#include "catboot.h" const ascii* read_file(const ascii* path) -- cgit 1.4.1