mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
ncpfs: add prototypes to ncp_fs.h
Removes some externs from C files, noticed from the sparse warnings: fs/ncpfs/dir.c:90:26: warning: symbol 'ncp_root_dentry_operations' was not declared. Should it be static? fs/ncpfs/symlink.c:107:5: warning: symbol 'ncp_symlink' was not declared. Should it be static? fs/ncpfs/symlink.c:101:39: warning: symbol 'ncp_symlink_aops' was not declared. Should it be static? Signed-off-by: Harvey Harrison <[email protected]> Acked-by: Petr Vandrovec <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5dc62b1b64
commit
cdf8803768
2 changed files with 7 additions and 6 deletions
|
|
@ -107,12 +107,6 @@ static const struct super_operations ncp_sops =
|
|||
.show_options = ncp_show_options,
|
||||
};
|
||||
|
||||
extern struct dentry_operations ncp_root_dentry_operations;
|
||||
#if defined(CONFIG_NCPFS_EXTRAS) || defined(CONFIG_NCPFS_NFS_NS)
|
||||
extern const struct address_space_operations ncp_symlink_aops;
|
||||
extern int ncp_symlink(struct inode*, struct dentry*, const char*);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Fill in the ncpfs-specific information in the inode.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue