From: uz Date: Sat, 6 Aug 2011 12:32:10 +0000 (+0000) Subject: Removed the Next pointer which is no longer necessary. X-Git-Tag: V2.13.3~336 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b418fdf98563a1dc697cf838d992546ea2b9e288;p=cc65 Removed the Next pointer which is no longer necessary. git-svn-id: svn://svn.cc65.org/cc65/trunk@5126 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/library.c b/src/ld65/library.c index e9ac7b93b..c99b7dbba 100644 --- a/src/ld65/library.c +++ b/src/ld65/library.c @@ -65,7 +65,6 @@ /* Library data structure */ typedef struct Library Library; struct Library { - Library* Next; unsigned Name; /* String id of the name */ FILE* F; /* Open file stream */ LibHeader Header; /* Library header */ @@ -93,7 +92,6 @@ static Library* NewLibrary (FILE* F, const char* Name) Library* L = xmalloc (sizeof (*L)); /* Initialize the fields */ - L->Next = 0; L->Name = GetStringId (Name); L->F = F; L->Modules = EmptyCollection; @@ -387,7 +385,7 @@ static void LibResolve (void) */ 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. */ ObjReadScopes (L->F, O->Start + O->Header.ScopeOffs, O);