summaryrefslogtreecommitdiff
path: root/fs/afs
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-07-15 23:40:16 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 09:05:43 -0700
commit03a9c30c231a61dd7457681aef51cc38ee01f766 (patch)
treedb26f08fb923e818f19ef30a080019885194a825 /fs/afs
parent7bf1fc4329aa2c31a80a882d695fbdded92036ca (diff)
downloadlinux-3.10-03a9c30c231a61dd7457681aef51cc38ee01f766.tar.gz
linux-3.10-03a9c30c231a61dd7457681aef51cc38ee01f766.tar.bz2
linux-3.10-03a9c30c231a61dd7457681aef51cc38ee01f766.zip
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>
Diffstat (limited to 'fs/afs')
-rw-r--r--fs/afs/vnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/vnode.c b/fs/afs/vnode.c
index ac811e445b2..2f05c4fc2a7 100644
--- a/fs/afs/vnode.c
+++ b/fs/afs/vnode.c
@@ -561,7 +561,7 @@ no_server:
/*
* 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 afs_server *server;