X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Fcodelab.c;h=9e3b93765f64ebf69b57dd13a45433e4d7b1ec6d;hb=9b7c16ec4cbb5282642c377272224e3fc825f860;hp=7fd66e7e29c279ecc212342eccd2fd471edf84df;hpb=aa39d98cbcb08b2228d616db031702a4bf5178b6;p=cc65 diff --git a/src/cc65/codelab.c b/src/cc65/codelab.c index 7fd66e7e2..9e3b93765 100644 --- a/src/cc65/codelab.c +++ b/src/cc65/codelab.c @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 2001 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* (C) 2001-2009, Ullrich von Bassewitz */ +/* Roemerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -40,6 +40,7 @@ /* cc65 */ #include "codeent.h" #include "codelab.h" +#include "output.h" @@ -122,13 +123,13 @@ void CL_MoveRefs (CodeLabel* OldLabel, CodeLabel* NewLabel) -void CL_Output (const CodeLabel* L, FILE* F) -/* Output the code label to a file */ +void CL_Output (const CodeLabel* L) +/* Output the code label to the output file */ { - fprintf (F, "%s:", L->Name); + WriteOutput ("%s:", L->Name); if (strlen (L->Name) > 6) { /* Label is too long, add a linefeed */ - fputc ('\n', F); + WriteOutput ("\n"); } }