aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2011-03-14 15:01:59 -0400
committerSteve French <sfrench@us.ibm.com>2011-05-19 10:10:56 -0400
commitceec1e0fae6eecac876ec28cfb97786f87dfb1c6 (patch)
tree834a9d5566dc4f3703dce20d5ebf37df2f9a218f /fs/cifs/cifsproto.h
parent4e64fb33dea9c4cad0106760c49c7629d4c699a5 (diff)
[CIFS] Remove sparse warning
Move extern for cifsConvertToUCS to different header to prevent following warning: CHECK fs/cifs/cifs_unicode.c fs/cifs/cifs_unicode.c:267:1: warning: symbol 'cifsConvertToUCS' was not declared. Should it be static? Signed-off-by: Steve French <sfrench@us.ibm.com> Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index a1c94d396afe..6e69e06a30b3 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -353,8 +353,6 @@ extern int CIFSGetSrvInodeNumber(const int xid, struct cifsTconInfo *tcon,
353 const unsigned char *searchName, __u64 *inode_number, 353 const unsigned char *searchName, __u64 *inode_number,
354 const struct nls_table *nls_codepage, 354 const struct nls_table *nls_codepage,
355 int remap_special_chars); 355 int remap_special_chars);
356extern int cifsConvertToUCS(__le16 *target, const char *source, int maxlen,
357 const struct nls_table *cp, int mapChars);
358 356
359extern int CIFSSMBLock(const int xid, struct cifsTconInfo *tcon, 357extern int CIFSSMBLock(const int xid, struct cifsTconInfo *tcon,
360 const __u16 netfid, const __u64 len, 358 const __u16 netfid, const __u64 len,