X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Fdataseg.h;h=af1b024487a04d0de30085f58d38eacc5cf90e4f;hb=57d6c2f51eb376d43470652f9241fcf6c10ca14e;hp=ac1cb4fcc31048dae65010c036f0112ef47a9eb8;hpb=d27bfe8a7b00dddef501ae9ce73e398c068be7c4;p=cc65 diff --git a/src/cc65/dataseg.h b/src/cc65/dataseg.h index ac1cb4fcc..af1b02448 100644 --- a/src/cc65/dataseg.h +++ b/src/cc65/dataseg.h @@ -77,7 +77,10 @@ DataSeg* NewDataSeg (const char* SegName, SymEntry* Func); void DS_Append (DataSeg* Target, const DataSeg* Source); /* Append the data from Source to Target. */ -void DS_AddLine (DataSeg* S, const char* Format, va_list ap) attribute ((format(printf,2,0))); +void DS_AddVLine (DataSeg* S, const char* Format, va_list ap) attribute ((format(printf,2,0))); +/* Add a line to the given data segment */ + +void DS_AddLine (DataSeg* S, const char* Format, ...) attribute ((format(printf,2,3))); /* Add a line to the given data segment */ void DS_Output (const DataSeg* S, FILE* F);