Header guards (#pragma once) for all kernel headers
This commit is contained in:
parent
ada9625a1b
commit
a14ba848b3
17 changed files with 68 additions and 1 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue