Workaround for m68k-pic-coff-gcc bug re initialized local variables (arrays?)
[gnokii.git] / common / gsm-api.c
index 0765c22..229232d 100644 (file)
@@ -661,7 +661,7 @@ bool GetMemoryTypeString(char *memorytext, GSM_MemoryType *type)
     char *name;
   } GSM_MTStrings;
 
-  GSM_MTStrings mystring[] = {
+static  GSM_MTStrings mystring[] = {
     {GMT_ME,"ME"},
     {GMT_SM,"SM"},
     {GMT_FD,"FD"},
@@ -694,7 +694,7 @@ bool GetMemoryTypeID(char *memorytext, GSM_MemoryType *type)
     char *name;
   } GSM_MTStrings;
 
-  GSM_MTStrings mystring[] = {
+static  GSM_MTStrings mystring[] = {
     {GMT_ME,"ME"},
     {GMT_SM,"SM"},
     {GMT_FD,"FD"},