From b418fdf98563a1dc697cf838d992546ea2b9e288 Mon Sep 17 00:00:00 2001 From: uz Date: Sat, 6 Aug 2011 12:32:10 +0000 Subject: [PATCH] Removed the Next pointer which is no longer necessary. git-svn-id: svn://svn.cc65.org/cc65/trunk@5126 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/library.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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);