diff options
Diffstat (limited to 'include/asm-cris/unistd.h')
| -rw-r--r-- | include/asm-cris/unistd.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/asm-cris/unistd.h b/include/asm-cris/unistd.h index 156a34bfc583..2627bbdf8a11 100644 --- a/include/asm-cris/unistd.h +++ b/include/asm-cris/unistd.h | |||
| @@ -343,14 +343,14 @@ | |||
| 343 | * some others too. | 343 | * some others too. |
| 344 | */ | 344 | */ |
| 345 | #define __NR__exit __NR_exit | 345 | #define __NR__exit __NR_exit |
| 346 | extern inline _syscall0(pid_t,setsid) | 346 | static inline _syscall0(pid_t,setsid) |
| 347 | extern inline _syscall3(int,write,int,fd,const char *,buf,off_t,count) | 347 | static inline _syscall3(int,write,int,fd,const char *,buf,off_t,count) |
| 348 | extern inline _syscall3(int,read,int,fd,char *,buf,off_t,count) | 348 | static inline _syscall3(int,read,int,fd,char *,buf,off_t,count) |
| 349 | extern inline _syscall3(off_t,lseek,int,fd,off_t,offset,int,count) | 349 | static inline _syscall3(off_t,lseek,int,fd,off_t,offset,int,count) |
| 350 | extern inline _syscall1(int,dup,int,fd) | 350 | static inline _syscall1(int,dup,int,fd) |
| 351 | extern inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp) | 351 | static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp) |
| 352 | extern inline _syscall3(int,open,const char *,file,int,flag,int,mode) | 352 | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) |
| 353 | extern inline _syscall1(int,close,int,fd) | 353 | static inline _syscall1(int,close,int,fd) |
| 354 | 354 | ||
| 355 | struct pt_regs; | 355 | struct pt_regs; |
| 356 | asmlinkage long sys_mmap2( | 356 | asmlinkage long sys_mmap2( |
| @@ -382,8 +382,8 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
| 382 | #ifdef __KERNEL__ | 382 | #ifdef __KERNEL__ |
| 383 | #define _exit kernel_syscall_exit | 383 | #define _exit kernel_syscall_exit |
| 384 | #endif | 384 | #endif |
| 385 | extern inline _syscall1(int,_exit,int,exitcode) | 385 | static inline _syscall1(int,_exit,int,exitcode) |
| 386 | extern inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) | 386 | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
| 387 | #endif | 387 | #endif |
| 388 | 388 | ||
| 389 | 389 | ||
