summaryrefslogtreecommitdiff
path: root/klibc/klibc/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/klibc/include/unistd.h')
-rw-r--r--klibc/klibc/include/unistd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/klibc/klibc/include/unistd.h b/klibc/klibc/include/unistd.h
index f1cde2376e..13ff03b012 100644
--- a/klibc/klibc/include/unistd.h
+++ b/klibc/klibc/include/unistd.h
@@ -17,6 +17,7 @@ __extern __noreturn _exit(int);
__extern pid_t fork(void);
__extern pid_t vfork(void);
__extern pid_t getpid(void);
+__extern pid_t getpgid(pid_t);
__extern int setpgid(pid_t, pid_t);
__extern pid_t getppid(void);
__extern pid_t getpgrp(void);
@@ -76,8 +77,8 @@ __extern int sync(void);
__extern ssize_t read(int, void *, size_t);
__extern ssize_t write(int, const void *, size_t);
-#ifndef __IN_SYS_COMMON
-__extern int open(const char *, int, ...);
+#ifndef __IN_OPEN_C
+__extern __cdecl int open(const char *, int, ...);
#endif
__extern int close(int);
__extern off_t lseek(int, off_t, int);