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

git-svn-id: svn://svn.cc65.org/cc65/trunk@988 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-09-30 22:19:39 +00:00
parent 453a8b704f
commit 91dac51780
13 changed files with 125 additions and 103 deletions

View File

@@ -129,7 +129,8 @@ void ClearLineInfo (void)
static int CmpLineInfo (void* Data, const void* LI1_, const void* LI2_)
static int CmpLineInfo (void* Data attribute ((unused)),
const void* LI1_, const void* LI2_)
/* Compare function for the sort */
{
/* Cast the pointers */
@@ -161,7 +162,7 @@ static int CmpLineInfo (void* Data, const void* LI1_, const void* LI2_)
}
}
void MakeLineInfoIndex (void)
/* Sort the line infos and drop all unreferenced ones */