mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
Avoid C99 idioms.
This commit is contained in:
parent
c2c73e7d06
commit
116682c190
@ -124,7 +124,8 @@ static struct StrBuf* GetFullTypeNameWestEast (struct StrBuf* West, struct StrBu
|
||||
|
||||
/* First argument */
|
||||
SymEntry* Param = D->SymTab->SymHead;
|
||||
for (unsigned I = 0; I < D->ParamCount; ++I) {
|
||||
unsigned I;
|
||||
for (I = 0; I < D->ParamCount; ++I) {
|
||||
CHECK (Param != 0 && (Param->Flags & SC_PARAM) != 0);
|
||||
if (I > 0) {
|
||||
SB_AppendStr (&ParamList, ", ");
|
||||
@ -602,7 +603,8 @@ void PrintFuncSig (FILE* F, const char* Name, Type* T)
|
||||
|
||||
/* Get the parameter list string. Start from the first parameter */
|
||||
SymEntry* Param = D->SymTab->SymHead;
|
||||
for (unsigned I = 0; I < D->ParamCount; ++I) {
|
||||
unsigned I;
|
||||
for (I = 0; I < D->ParamCount; ++I) {
|
||||
CHECK (Param != 0 && (Param->Flags & SC_PARAM) != 0);
|
||||
if (I > 0) {
|
||||
SB_AppendStr (&ParamList, ", ");
|
||||
|
Loading…
Reference in New Issue
Block a user