Used __attribute ((unused)) instead of -Wno-unused-parameter

git-svn-id: svn://svn.cc65.org/cc65/trunk@987 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-09-30 22:04:19 +00:00
parent c8415fc17c
commit 453a8b704f
5 changed files with 25 additions and 22 deletions

View File

@@ -100,7 +100,8 @@ void FreeBinDesc (BinDesc* D)
static unsigned BinWriteExpr (ExprNode* E, int Signed, unsigned Size,
unsigned long Offs, void* Data)
unsigned long Offs attribute ((unused)),
void* Data)
/* Called from SegWrite for an expression. Evaluate the expression, check the
* range and write the expression value to the file.
*/
@@ -216,7 +217,7 @@ static void BinWriteMem (BinDesc* D, Memory* M)
static int BinUnresolved (const char* Name, void* D)
static int BinUnresolved (const char* Name attribute ((unused)), void* D)
/* Called if an unresolved symbol is encountered */
{
/* Unresolved symbols are an error in binary format. Bump the counter