summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_uniupr.h
diff options
context:
space:
mode:
authorIgor Druzhinin <jaxbrigs@gmail.com>2010-08-20 00:27:12 +0400
committerSteve French <sfrench@us.ibm.com>2010-08-20 00:46:42 +0000
commitbf4f12113812ac5be76c5590c6f50c8346f784a4 (patch)
treed159876dddb3d53c0e2e68675b93610c85ba4e03 /fs/cifs/cifs_uniupr.h
parentfc87a40677bbe0937e2ff0642c7e83c9a4813f3d (diff)
downloadop-kernel-dev-bf4f12113812ac5be76c5590c6f50c8346f784a4.zip
op-kernel-dev-bf4f12113812ac5be76c5590c6f50c8346f784a4.tar.gz
cifs: correction of unicode header files
This patch corrects a problem of compilation errors at removal of UNIUPR_NOLOWER definition and adds include guards to cifs_unicode.h. Signed-off-by: Igor Druzhinin <jaxbrigs@gmail.com> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifs_uniupr.h')
-rw-r--r--fs/cifs/cifs_uniupr.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/cifs/cifs_uniupr.h b/fs/cifs/cifs_uniupr.h
index 18a9d97..0ac7c5a 100644
--- a/fs/cifs/cifs_uniupr.h
+++ b/fs/cifs/cifs_uniupr.h
@@ -140,7 +140,7 @@ const struct UniCaseRange CifsUniUpperRange[] = {
/*
* Latin lower case
*/
-static signed char CifsUniLowerTable[512] = {
+signed char CifsUniLowerTable[512] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 000-00f */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 010-01f */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 020-02f */
@@ -242,12 +242,12 @@ static signed char UniCaseRangeLff20[27] = {
/*
* Lower Case Range
*/
-static const struct UniCaseRange CifsUniLowerRange[] = {
- 0x0380, 0x03ab, UniCaseRangeL0380,
- 0x0400, 0x042f, UniCaseRangeL0400,
- 0x0490, 0x04cb, UniCaseRangeL0490,
- 0x1e00, 0x1ff7, UniCaseRangeL1e00,
- 0xff20, 0xff3a, UniCaseRangeLff20,
- 0, 0, 0
+const struct UniCaseRange CifsUniLowerRange[] = {
+ {0x0380, 0x03ab, UniCaseRangeL0380},
+ {0x0400, 0x042f, UniCaseRangeL0400},
+ {0x0490, 0x04cb, UniCaseRangeL0490},
+ {0x1e00, 0x1ff7, UniCaseRangeL1e00},
+ {0xff20, 0xff3a, UniCaseRangeLff20},
+ {0}
};
#endif
OpenPOWER on IntegriCloud