X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=common%2Fgsm-networks.c;h=f0379f5870dbab9b75e521e88a983e45900cc0b5;hp=b36bcf5b73fd0b93739db7226776549f163b610a;hb=c7dcdfd34d2bed9cc64c5c9603e51ef8c8271951;hpb=2d4a2c4357d6c4070e4a98128b22b89a7b8d7636 diff --git a/common/gsm-networks.c b/common/gsm-networks.c index b36bcf5..f0379f5 100644 --- a/common/gsm-networks.c +++ b/common/gsm-networks.c @@ -10,13 +10,17 @@ */ +#include "config.h" + #include #include "gsm-common.h" #include "gsm-networks.h" #include "gsm-coding.h" -GSM_Country GSM_Countries[] = +#ifndef UCLINUX + +static GSM_Country GSM_Countries[] = { { "202", "Greece" }, { "204", "Netherlands" }, @@ -454,7 +458,7 @@ char *GSM_GetCountryName(char *CountryCode) return GSM_Countries[index].Name; } -char *GSM_GetCountryCode(char *CountryName) +static char *GSM_GetCountryCode(char *CountryName) { int index=0; @@ -480,3 +484,5 @@ void DecodeNetworkCode(unsigned char* buffer, unsigned char* output) output[4]=output[3]; output[3]=' '; } + +#endif /* UCLINUX */