Fix to decide data and return type explicity

This commit is contained in:
OBATA Akio
2021-10-08 17:25:17 +09:00
parent f7327e92d6
commit 2390217a75
23 changed files with 34 additions and 21 deletions

View File

@@ -2177,7 +2177,7 @@ return(newstring);
int NextId(void)
{
static id = 0;
static int id = 0;
return ++id;
}
@@ -2713,7 +2713,7 @@ M_WCHAR *CycleEnt(LOGICAL init,
{
static M_TRIE *current ;
static M_TRIE *ancestor[M_NAMELEN + 1] ;
static length = 0 ;
static int length = 0 ;
static M_WCHAR name[M_NAMELEN + 1] ;
if (init)

View File

@@ -40,7 +40,7 @@ M_WCHAR *m_cyclent(LOGICAL init, unsigned char *type, M_WCHAR **content, unsigne
{
static M_TRIE *current ;
static M_TRIE *ancestor[M_NAMELEN + 1] ;
static length = 0 ;
static int length = 0 ;
static M_WCHAR name[M_NAMELEN + 1] ;
if (init) {

View File

@@ -2164,7 +2164,7 @@ return(newstring);
int NextId(void)
{
static id = 0;
static int id = 0;
return ++id;
}
@@ -2700,7 +2700,7 @@ M_WCHAR *CycleEnt(LOGICAL init,
{
static M_TRIE *current ;
static M_TRIE *ancestor[M_NAMELEN + 1] ;
static length = 0 ;
static int length = 0 ;
static M_WCHAR name[M_NAMELEN + 1] ;
if (init)

View File

@@ -40,7 +40,7 @@ M_WCHAR *m_cyclent(LOGICAL init, unsigned char *type, M_WCHAR **content, unsigne
{
static M_TRIE *current ;
static M_TRIE *ancestor[M_NAMELEN + 1] ;
static length = 0 ;
static int length = 0 ;
static M_WCHAR name[M_NAMELEN + 1] ;
if (init) {

View File

@@ -6467,7 +6467,7 @@ static M_WCHAR *CycleEnt(LOGICAL init,
{
static M_TRIE *current ;
static M_TRIE *ancestor[M_NAMELEN + 1] ;
static length = 0 ;
static int length = 0 ;
static M_WCHAR name[M_NAMELEN + 1] ;
if (init)

View File

@@ -40,7 +40,7 @@ M_WCHAR *m_cyclent(LOGICAL init, unsigned char *type, M_WCHAR **content, unsigne
{
static M_TRIE *current ;
static M_TRIE *ancestor[M_NAMELEN + 1] ;
static length = 0 ;
static int length = 0 ;
static M_WCHAR name[M_NAMELEN + 1] ;
if (init) {