Fixed a few C99isms that prevented the sources to compile with Watcom-C.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4099 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -101,12 +101,13 @@ static unsigned OptShift1 (CodeSeg* S)
|
|||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
unsigned Changes = 0;
|
unsigned Changes = 0;
|
||||||
|
unsigned I;
|
||||||
|
|
||||||
/* Generate register info */
|
/* Generate register info */
|
||||||
CS_GenRegInfo (S);
|
CS_GenRegInfo (S);
|
||||||
|
|
||||||
/* Walk over the entries */
|
/* Walk over the entries */
|
||||||
unsigned I = 0;
|
I = 0;
|
||||||
while (I < CS_GetEntryCount (S)) {
|
while (I < CS_GetEntryCount (S)) {
|
||||||
|
|
||||||
CodeEntry* N;
|
CodeEntry* N;
|
||||||
|
|||||||
@@ -805,12 +805,13 @@ unsigned OptCondBranches2 (CodeSeg* S)
|
|||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
unsigned Changes = 0;
|
unsigned Changes = 0;
|
||||||
|
unsigned I;
|
||||||
|
|
||||||
/* Generate register info for this step */
|
/* Generate register info for this step */
|
||||||
CS_GenRegInfo (S);
|
CS_GenRegInfo (S);
|
||||||
|
|
||||||
/* Walk over the entries */
|
/* Walk over the entries */
|
||||||
unsigned I = 0;
|
I = 0;
|
||||||
while (I < CS_GetEntryCount (S)) {
|
while (I < CS_GetEntryCount (S)) {
|
||||||
|
|
||||||
CodeEntry* N;
|
CodeEntry* N;
|
||||||
|
|||||||
Reference in New Issue
Block a user