X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fld65%2Fmapfile.c;h=fa8d98efcc266b5c7bcffc104fe827f25b2e492b;hb=85885001b133e2dc320b6f6459259afa69784ca8;hp=6dc4ffb60cb1663c015a9df7237d8248d899e1f8;hpb=44fd1082ae807a0b6b4046c65914e20a7e27101c;p=cc65 diff --git a/src/ld65/mapfile.c b/src/ld65/mapfile.c index 6dc4ffb60..fa8d98efc 100644 --- a/src/ld65/mapfile.c +++ b/src/ld65/mapfile.c @@ -1,8 +1,8 @@ /*****************************************************************************/ /* */ -/* mapfile.c */ +/* mapfile.c */ /* */ -/* Map file creation for the ld65 linker */ +/* Map file creation for the ld65 linker */ /* */ /* */ /* */ @@ -52,7 +52,7 @@ /*****************************************************************************/ -/* Code */ +/* Code */ /*****************************************************************************/ @@ -67,12 +67,12 @@ void CreateMapFile (int ShortMap) /* Open the map file */ FILE* F = fopen (MapFileName, "w"); if (F == 0) { - Error ("Cannot create map file `%s': %s", MapFileName, strerror (errno)); + Error ("Cannot create map file `%s': %s", MapFileName, strerror (errno)); } /* Write a modules list */ fprintf (F, "Modules list:\n" - "-------------\n"); + "-------------\n"); for (I = 0; I < CollCount (&ObjDataList); ++I) { unsigned J; @@ -104,8 +104,8 @@ void CreateMapFile (int ShortMap) /* Write the segment list */ fprintf (F, "\n\n" - "Segment list:\n" - "-------------\n"); + "Segment list:\n" + "-------------\n"); PrintSegmentMap (F); /* The remainder is not written for short map files */ @@ -126,7 +126,7 @@ void CreateMapFile (int ShortMap) /* Close the file */ if (fclose (F) != 0) { - Error ("Error closing map file `%s': %s", MapFileName, strerror (errno)); + Error ("Error closing map file `%s': %s", MapFileName, strerror (errno)); } } @@ -138,7 +138,7 @@ void CreateLabelFile (void) /* Open the label file */ FILE* F = fopen (LabelFileName, "w"); if (F == 0) { - Error ("Cannot create label file `%s': %s", LabelFileName, strerror (errno)); + Error ("Cannot create label file `%s': %s", LabelFileName, strerror (errno)); } /* Print the labels for the export symbols */ @@ -149,7 +149,7 @@ void CreateLabelFile (void) /* Close the file */ if (fclose (F) != 0) { - Error ("Error closing label file `%s': %s", LabelFileName, strerror (errno)); + Error ("Error closing label file `%s': %s", LabelFileName, strerror (errno)); } }