Not yet working stack checking (symbol STACKCHECK)
[gnokii.git] / common / gsm-api.c
index 4546e14..229232d 100644 (file)
@@ -87,10 +87,8 @@ GSM_Protocol *Protocol;
 GSM_PhonebookEntry *CurrentPhonebookEntry;
 GSM_Error          CurrentPhonebookError;
 
-#ifndef UCLINUX
 GSM_SpeedDial      *CurrentSpeedDialEntry;
 GSM_Error          CurrentSpeedDialError;
-#endif /* UCLINUX */
 
 unsigned char      Current_IMEI[GSM_MAX_IMEI_LENGTH];
 unsigned char      Current_Revision[GSM_MAX_REVISION_LENGTH];
@@ -663,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"},
@@ -696,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"},