git://git.jankratochvil.net
/
gnokii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First version, development moved to 5110-connected machine
[gnokii.git]
/
common
/
gsm-networks.c
diff --git
a/common/gsm-networks.c
b/common/gsm-networks.c
index
b36bcf5
..
f0379f5
100644
(file)
--- a/
common/gsm-networks.c
+++ b/
common/gsm-networks.c
@@
-10,13
+10,17
@@
*/
*/
+#include "config.h"
+
#include <string.h>
#include "gsm-common.h"
#include "gsm-networks.h"
#include "gsm-coding.h"
#include <string.h>
#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" },
{
{ "202", "Greece" },
{ "204", "Netherlands" },
@@
-454,7
+458,7
@@
char *GSM_GetCountryName(char *CountryCode)
return GSM_Countries[index].Name;
}
return GSM_Countries[index].Name;
}
-char *GSM_GetCountryCode(char *CountryName)
+
static
char *GSM_GetCountryCode(char *CountryName)
{
int index=0;
{
int index=0;
@@
-480,3
+484,5
@@
void DecodeNetworkCode(unsigned char* buffer, unsigned char* output)
output[4]=output[3];
output[3]=' ';
}
output[4]=output[3];
output[3]=' ';
}
+
+#endif /* UCLINUX */