Moved the segdefs module to ca65, since it was used only there and renamed it

to segdef, since there might be a new segdefs module in common soon.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5381 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-01-04 22:02:02 +00:00
parent ad88e77f43
commit 02cbc7da25
10 changed files with 24 additions and 24 deletions

View File

@@ -40,7 +40,6 @@
#include "check.h"
#include "coll.h"
#include "fragdefs.h"
#include "segdefs.h"
#include "xmalloc.h"
/* ld65 */

View File

@@ -37,6 +37,7 @@
#include <string.h>
/* common */
#include "addrsize.h"
#include "alignment.h"
#include "check.h"
#include "coll.h"
@@ -44,7 +45,6 @@
#include "fragdefs.h"
#include "hashfunc.h"
#include "print.h"
#include "segdefs.h"
#include "symdefs.h"
#include "xmalloc.h"
@@ -105,7 +105,7 @@ static Segment* NewSegment (unsigned Name, unsigned char AddrSize)
S->ReadOnly = 0;
S->Dumped = 0;
S->BankRef = 0;
/* Insert the segment into the segment list and assign the segment id */
S->Id = CollCount (&SegmentList);
CollAppend (&SegmentList, S);