]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
AFS: drop explicit extern
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 16 Jul 2007 06:40:16 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:43 +0000 (09:05 -0700)
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>
fs/afs/vnode.c

index ac811e445b2ddf8269f0e851abf851ae6536bab3..2f05c4fc2a70ad4a1e74c1712d7ba562be2f33aa 100644 (file)
@@ -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;