From: Randy Dunlap Date: Mon, 16 Jul 2007 06:40:16 +0000 (-0700) Subject: AFS: drop explicit extern X-Git-Tag: v2.6.23-rc1~914 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=03a9c30c231a61dd7457681aef51cc38ee01f766;p=~shefty%2Frdma-dev.git 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 Acked-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;