diff options
author | Anton Kling <anton@kling.gg> | 2023-11-22 00:47:55 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-22 00:47:55 +0100 |
commit | f3c7d7fbdea1f2bac81909116ddb747a1f8abdf5 (patch) | |
tree | 62a1d998ce11bf4db4343f69dea4e8d231191e48 /userland/libc/include/stdio.h | |
parent | 24f81104f5ff9cb4ab7db766c53f77fe0e5b86cc (diff) |
Meta: Cleanup of header files such that they are partially shared
The /include directory contains definitons that both the kernel and libc
need to be in sync.
Diffstat (limited to 'userland/libc/include/stdio.h')
-rw-r--r-- | userland/libc/include/stdio.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/userland/libc/include/stdio.h b/userland/libc/include/stdio.h index aafae78..43700e0 100644 --- a/userland/libc/include/stdio.h +++ b/userland/libc/include/stdio.h @@ -3,6 +3,7 @@ #include <stdarg.h> #include <stddef.h> #include <stdint.h> +#include <sys/types.h> // FIXME: Most of these should probably not be here. But I am too lazy // to fix it right now. This is futures mees problem to deal wth. @@ -56,8 +57,6 @@ extern FILE *__stderr_FILE; #define stdout __stdout_FILE #define stderr __stderr_FILE -typedef int mode_t; - void perror(const char *s); int putchar(int c); |