All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] smbfs: Fix mismatched declaratons in proto.h and dir.c
@ 2011-01-16 19:16 Benjamin
  0 siblings, 0 replies; only message in thread
From: Benjamin @ 2011-01-16 19:16 UTC (permalink / raw)
  To: linux-kernel

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@gmail.com>
---
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 */



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-16 19:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-16 19:16 [PATCH] smbfs: Fix mismatched declaratons in proto.h and dir.c Benjamin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.