mirror of
https://github.com/cc65/cc65.git
synced 2025-01-21 00:31:53 +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:
parent
b4967d359f
commit
54ffc25a53
@ -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.
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user