diff options
author | Andrew Morton <akpm@osdl.org> | 2006-04-11 13:59:36 +0200 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-04-11 13:59:36 +0200 |
commit | 88e6faefaeed40a162041d85689e94595756d4c3 (patch) | |
tree | 78724ca8f0b7a5d0cf6071e5615e2e6eee3ab7f4 /net/socket.c | |
parent | [PATCH] another round of fs/pipe.c cleanups (diff) | |
download | linux-88e6faefaeed40a162041d85689e94595756d4c3.tar.xz linux-88e6faefaeed40a162041d85689e94595756d4c3.zip |
[PATCH] splice: warning fix
From: Andrew Morton <akpm@osdl.org>
net/socket.c:148: warning: initialization from incompatible pointer type
extern declarations in .c files! Bad boy.
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/socket.c b/net/socket.c index b807f360e02c..9ed9f6521155 100644 --- a/net/socket.c +++ b/net/socket.c @@ -119,10 +119,6 @@ static ssize_t sock_writev(struct file *file, const struct iovec *vector, static ssize_t sock_sendpage(struct file *file, struct page *page, int offset, size_t size, loff_t *ppos, int more); -extern ssize_t generic_splice_sendpage(struct inode *inode, struct file *out, - size_t len, unsigned int flags); - - /* * Socket files have a set of 'special' operations as well as the generic file ones. These don't appear * in the operation structures but are done directly via the socketcall() multiplexor. |