X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Fsegments.c;h=dd7817b8887149d68ead2401edad3c0b0c411653;hb=73dfa23c987d8a7f1154801b85c171f9e01dcd58;hp=c2f080fabc2813edd0fae54d54de122c9cb3f782;hpb=cf2162f5daa391f5574c17e264d20391444a5941;p=cc65 diff --git a/src/cc65/segments.c b/src/cc65/segments.c index c2f080fab..dd7817b88 100644 --- a/src/cc65/segments.c +++ b/src/cc65/segments.c @@ -41,6 +41,7 @@ #include "check.h" #include "coll.h" #include "scanner.h" +#include "segnames.h" #include "xmalloc.h" /* cc65 */ @@ -85,10 +86,10 @@ static Collection SegmentStack = STATIC_COLLECTION_INITIALIZER; void InitSegNames (void) /* Initialize the segment names */ { - SegmentNames [SEG_BSS] = xstrdup ("BSS"); - SegmentNames [SEG_CODE] = xstrdup ("CODE"); - SegmentNames [SEG_DATA] = xstrdup ("DATA"); - SegmentNames [SEG_RODATA] = xstrdup ("RODATA"); + SegmentNames [SEG_BSS] = xstrdup (SEGNAME_BSS); + SegmentNames [SEG_CODE] = xstrdup (SEGNAME_CODE); + SegmentNames [SEG_DATA] = xstrdup (SEGNAME_DATA); + SegmentNames [SEG_RODATA] = xstrdup (SEGNAME_RODATA); }