diff options
Diffstat (limited to 'src/libc/include/unistd.h')
-rw-r--r-- | src/libc/include/unistd.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libc/include/unistd.h b/src/libc/include/unistd.h index 750d6e2..2158511 100644 --- a/src/libc/include/unistd.h +++ b/src/libc/include/unistd.h @@ -1,5 +1,6 @@ #pragma once #include <camellia/types.h> // TODO only needed because of hid_t +#include <camellia/intr.h> // TODO only included for backwards compat #include <sys/types.h> #include <getopt.h> @@ -64,8 +65,5 @@ unsigned int sleep(unsigned int seconds); * @return 0 on failure, length of the path otherwise */ size_t absolutepath(char *out, const char *in, size_t size); -// TODO put in an internal libc header -void __setinitialcwd(const char *c); - -void intr_set(void (*fn)(void)); -void intr_default(void); +/* used internally */ +extern const char *__initialcwd; |