Header guards (#pragma once) for all kernel headers

This commit is contained in:
Imbus 2024-08-07 06:35:06 +02:00
parent ada9625a1b
commit a14ba848b3
17 changed files with 68 additions and 1 deletions

View file

@ -1,3 +1,7 @@
#pragma once
#include "../kernel/types.h"
struct stat;
// system calls
@ -22,6 +26,7 @@ int getpid(void);
char *sbrk(int);
int sleep(int);
int uptime(void);
int trace(int);
// ulib.c
int stat(const char *, struct stat *);