mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
AFS: drop explicit extern
Don't use explicit extern specifier and quieten sparse warning: fs/afs/vnode.c:564:12: warning: function 'afs_vnode_link' with external linkage has definition Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7bf1fc4329
commit
03a9c30c23
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ no_server:
|
||||||
/*
|
/*
|
||||||
* create a hard link
|
* create a hard link
|
||||||
*/
|
*/
|
||||||
extern int afs_vnode_link(struct afs_vnode *dvnode, struct afs_vnode *vnode,
|
int afs_vnode_link(struct afs_vnode *dvnode, struct afs_vnode *vnode,
|
||||||
struct key *key, const char *name)
|
struct key *key, const char *name)
|
||||||
{
|
{
|
||||||
struct afs_server *server;
|
struct afs_server *server;
|
||||||
|
|
Loading…
Reference in a new issue