public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove duplicated declarations for sys_pipe2
@ 2009-05-27 18:50 Masatake YAMATO
  2009-05-28  1:25 ` Américo Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Masatake YAMATO @ 2009-05-27 18:50 UTC (permalink / raw)
  To: linux-kernel

Hi,

sys_pipe2 is declared twice in include/linux/syscalls.h.



Signed-off-by: Masatake YAMATO <yamato@redhat.com>


diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 3052084..66b6203 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -433,6 +433,7 @@ asmlinkage long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg);
 asmlinkage long sys_fcntl64(unsigned int fd,
 				unsigned int cmd, unsigned long arg);
 #endif
+asmlinkage long sys_pipe(int __user *fildes);
 asmlinkage long sys_pipe2(int __user *fildes, int flags);
 asmlinkage long sys_dup(unsigned int fildes);
 asmlinkage long sys_dup2(unsigned int oldfd, unsigned int newfd);
@@ -750,8 +751,6 @@ asmlinkage long sys_pselect6(int, fd_set __user *, fd_set __user *,
 asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int,
 			  struct timespec __user *, const sigset_t __user *,
 			  size_t);
-asmlinkage long sys_pipe2(int __user *, int);
-asmlinkage long sys_pipe(int __user *);
 
 int kernel_execve(const char *filename, char *const argv[], char *const envp[]);
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Remove duplicated declarations for sys_pipe2
  2009-05-27 18:50 [PATCH] Remove duplicated declarations for sys_pipe2 Masatake YAMATO
@ 2009-05-28  1:25 ` Américo Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Américo Wang @ 2009-05-28  1:25 UTC (permalink / raw)
  To: Masatake YAMATO; +Cc: linux-kernel

On Thu, May 28, 2009 at 03:50:16AM +0900, Masatake YAMATO wrote:
>Hi,
>
>sys_pipe2 is declared twice in include/linux/syscalls.h.
>
>
>
>Signed-off-by: Masatake YAMATO <yamato@redhat.com>
>

Amazingly we have this...

Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>

-- 
Live like a child, think like the god.
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-28  1:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27 18:50 [PATCH] Remove duplicated declarations for sys_pipe2 Masatake YAMATO
2009-05-28  1:25 ` Américo Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox