1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-13 09:31:53 +00:00

Removed the Next pointer which is no longer necessary.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5126 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2011-08-06 12:32:10 +00:00
parent 6172979c1c
commit b418fdf985

View File

@ -65,7 +65,6 @@
/* Library data structure */ /* Library data structure */
typedef struct Library Library; typedef struct Library Library;
struct Library { struct Library {
Library* Next;
unsigned Name; /* String id of the name */ unsigned Name; /* String id of the name */
FILE* F; /* Open file stream */ FILE* F; /* Open file stream */
LibHeader Header; /* Library header */ LibHeader Header; /* Library header */
@ -93,7 +92,6 @@ static Library* NewLibrary (FILE* F, const char* Name)
Library* L = xmalloc (sizeof (*L)); Library* L = xmalloc (sizeof (*L));
/* Initialize the fields */ /* Initialize the fields */
L->Next = 0;
L->Name = GetStringId (Name); L->Name = GetStringId (Name);
L->F = F; L->F = F;
L->Modules = EmptyCollection; L->Modules = EmptyCollection;
@ -387,7 +385,7 @@ static void LibResolve (void)
*/ */
ObjReadSections (L->F, O->Start + O->Header.SegOffs, O); ObjReadSections (L->F, O->Start + O->Header.SegOffs, O);
/* Read the scope table from the object file. Scopes reference /* Read the scope table from the object file. Scopes reference
* segments, so we must read them after the sections. * segments, so we must read them after the sections.
*/ */
ObjReadScopes (L->F, O->Start + O->Header.ScopeOffs, O); ObjReadScopes (L->F, O->Start + O->Header.ScopeOffs, O);