diff --git a/src/ld65/bin.c b/src/ld65/bin.c index 5a22267e2..48bc5d65b 100644 --- a/src/ld65/bin.c +++ b/src/ld65/bin.c @@ -58,7 +58,7 @@ -struct BinDesc_ { +struct BinDesc { unsigned Undef; /* Count of undefined externals */ FILE* F; /* Output file */ const char* Filename; /* Name of output file */ @@ -102,7 +102,7 @@ static unsigned BinWriteExpr (ExprNode* E, int Signed, unsigned Size, /* Called from SegWrite for an expression. Evaluate the expression, check the * range and write the expression value to the file. */ -{ +{ /* There's a predefined function to handle constant expressions */ return SegWriteConstExpr (((BinDesc*)Data)->F, E, Signed, Size); } diff --git a/src/ld65/bin.h b/src/ld65/bin.h index 5ed64676c..7b32a9fac 100644 --- a/src/ld65/bin.h +++ b/src/ld65/bin.h @@ -49,7 +49,7 @@ /* Structure describing the format */ -typedef struct BinDesc_ BinDesc; +typedef struct BinDesc BinDesc;