[PATCH] smbfs: Fix mismatched declaratons in proto.h and dir.c

From: Benjamin
Date: Sun Jan 16 2011 - 14:14:22 EST


This patch fixes a mismatch of the declarations of
smbfs_dentry_operations_case and smbfs_dentry_operations in
drivers/staging/smbfs/dir.c and drivers/staging/smbfs/proto.h by making
them static in both files.

Signed-off-by: Benjamin Fair <masterme120@xxxxxxxxx>
---
diff --git a/drivers/staging/smbfs/proto.h
b/drivers/staging/smbfs/proto.h
index 3883cb1..314c4cf 100644
--- a/drivers/staging/smbfs/proto.h
+++ b/drivers/staging/smbfs/proto.h
@@ -38,8 +38,8 @@ extern void smb_install_null_ops(struct smb_ops *ops);
extern const struct file_operations smb_dir_operations;
extern const struct inode_operations smb_dir_inode_operations;
extern const struct inode_operations smb_dir_inode_operations_unix;
-extern const struct dentry_operations smbfs_dentry_operations_case;
-extern const struct dentry_operations smbfs_dentry_operations;
+extern static const struct dentry_operations
smbfs_dentry_operations_case;
+extern static const struct dentry_operations smbfs_dentry_operations;
extern void smb_new_dentry(struct dentry *dentry);
extern void smb_renew_times(struct dentry *dentry);
/* cache.c */


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/