git://git.jankratochvil.net
/
gnokii.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
14cd006
)
Workaround for m68k-pic-coff-gcc bug re initialized local variables (arrays?)
author
short
<>
Wed, 27 Feb 2002 22:44:47 +0000
(22:44 +0000)
committer
short
<>
Wed, 27 Feb 2002 22:44:47 +0000
(22:44 +0000)
common/gsm-api.c
patch
|
blob
|
history
diff --git
a/common/gsm-api.c
b/common/gsm-api.c
index
0765c22
..
229232d
100644
(file)
--- a/
common/gsm-api.c
+++ b/
common/gsm-api.c
@@
-661,7
+661,7
@@
bool GetMemoryTypeString(char *memorytext, GSM_MemoryType *type)
char *name;
} GSM_MTStrings;
char *name;
} GSM_MTStrings;
- GSM_MTStrings mystring[] = {
+
static
GSM_MTStrings mystring[] = {
{GMT_ME,"ME"},
{GMT_SM,"SM"},
{GMT_FD,"FD"},
{GMT_ME,"ME"},
{GMT_SM,"SM"},
{GMT_FD,"FD"},
@@
-694,7
+694,7
@@
bool GetMemoryTypeID(char *memorytext, GSM_MemoryType *type)
char *name;
} GSM_MTStrings;
char *name;
} GSM_MTStrings;
- GSM_MTStrings mystring[] = {
+
static
GSM_MTStrings mystring[] = {
{GMT_ME,"ME"},
{GMT_SM,"SM"},
{GMT_FD,"FD"},
{GMT_ME,"ME"},
{GMT_SM,"SM"},
{GMT_FD,"FD"},