diff options
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/procfdname.c | 2 | ||||
-rw-r--r-- | src/internal/syscall.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/procfdname.c b/src/internal/procfdname.c index 697e0bdc..fd7306ab 100644 --- a/src/internal/procfdname.c +++ b/src/internal/procfdname.c @@ -1,3 +1,5 @@ +#include "syscall.h" + void __procfdname(char *buf, unsigned fd) { unsigned i, j; diff --git a/src/internal/syscall.h b/src/internal/syscall.h index c12a46cd..5737f3a2 100644 --- a/src/internal/syscall.h +++ b/src/internal/syscall.h @@ -244,4 +244,6 @@ hidden long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...), #define __sys_open_cp(...) __SYSCALL_DISP(__sys_open_cp,,__VA_ARGS__) #define sys_open_cp(...) __syscall_ret(__sys_open_cp(__VA_ARGS__)) +void __procfdname(char [static 15+3*sizeof(int)], unsigned); + #endif |