mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
[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>
This commit is contained in:
parent
341b446bc5
commit
88e6faefae
2 changed files with 10 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue