From 488d83201228c15f53899ca9bf9ba28db8cd3da1 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Thu, 11 Jun 2009 00:47:38 +0000 Subject: [PATCH] make LFN tables static --- source/directory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/directory.c b/source/directory.c index 3f56c9d..279a361 100644 --- a/source/directory.c +++ b/source/directory.c @@ -71,13 +71,13 @@ enum LFN_offset { LFN_offset_char11 = 0x1C, LFN_offset_char12 = 0x1E }; -const int LFN_offset_table[13]={0x01,0x03,0x05,0x07,0x09,0x0E,0x10,0x12,0x14,0x16,0x18,0x1C,0x1E}; +static const int LFN_offset_table[13]={0x01,0x03,0x05,0x07,0x09,0x0E,0x10,0x12,0x14,0x16,0x18,0x1C,0x1E}; #define LFN_END 0x40 #define LFN_DEL 0x80 -const char ILLEGAL_ALIAS_CHARACTERS[] = "\\/:;*?\"<>|&+,=[] "; -const char ILLEGAL_LFN_CHARACTERS[] = "\\/:*?\"<>|"; +static const char ILLEGAL_ALIAS_CHARACTERS[] = "\\/:;*?\"<>|&+,=[] "; +static const char ILLEGAL_LFN_CHARACTERS[] = "\\/:*?\"<>|"; /* Returns number of UCS-2 characters needed to encode an LFN