1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28:57 +00:00

Removed an unused function.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5153 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2011-08-11 21:23:37 +00:00
parent b4967d359f
commit 54ffc25a53
2 changed files with 2 additions and 20 deletions

View File

@ -121,7 +121,7 @@ void InitLineInfo (void)
AllocatedSlots = 8;
CurLineInfo = xmalloc (AllocatedSlots * sizeof (LineInfoSlot));
/* Initalize the predefined slots. Be sure to ccreate a new LineInfo for
/* Initalize the predefined slots. Be sure to create a new LineInfo for
* the default source. This is necessary to allow error message to be
* generated without any input file open.
*/
@ -226,19 +226,6 @@ void GetFullLineInfo (Collection* LineInfos, unsigned IncUsage)
LineInfo* UseLineInfo (LineInfo* LI)
/* Increase the reference count of the given line info and return it. The
* function will gracefully accept NULL pointers and do nothing in this case.
*/
{
if (LI) {
++LI->Usage;
}
return LI;
}
LineInfo* ReleaseLineInfo (LineInfo* LI)
/* Decrease the reference count of the given line info and return it. The
* function will gracefully accept NULL pointers and do nothing in this case.

View File

@ -103,11 +103,6 @@ void GetFullLineInfo (Collection* LineInfos, unsigned IncUsage);
* counter by IncUsage for all line infos returned.
*/
LineInfo* UseLineInfo (LineInfo* LI);
/* Increase the reference count of the given line info and return it. The
* function will gracefully accept NULL pointers and do nothing in this case.
*/
LineInfo* ReleaseLineInfo (LineInfo* LI);
/* Decrease the reference count of the given line info and return it. The
* function will gracefully accept NULL pointers and do nothing in this case.
@ -151,4 +146,4 @@ void WriteLineInfos (void);