X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=common%2Fgsm-api.c;h=229232d68ee44b2ad67ca233adfb1dc8087a2f0e;hp=4546e1438eeed5ba432f3f13d79beada5ab8a7d2;hb=07e8833740d5c2268df6000ef3856bb05bf0dc67;hpb=c7dcdfd34d2bed9cc64c5c9603e51ef8c8271951 diff --git a/common/gsm-api.c b/common/gsm-api.c index 4546e14..229232d 100644 --- a/common/gsm-api.c +++ b/common/gsm-api.c @@ -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"},