* [PATCH] AFS: drop explicit extern
@ 2007-05-26 21:35 Randy Dunlap
2007-05-27 0:14 ` David Howells
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2007-05-26 21:35 UTC (permalink / raw)
To: linux-fsdevel; +Cc: dhowells, akpm
From: Randy Dunlap <randy.dunlap@oracle.com>
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>
---
fs/afs/vnode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.22-rc3.orig/fs/afs/vnode.c
+++ linux-2.6.22-rc3/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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-27 0:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-26 21:35 [PATCH] AFS: drop explicit extern Randy Dunlap
2007-05-27 0:14 ` David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).