]> git.sur5r.net Git - cc65/blobdiff - src/cc65/dataseg.c
ValidSegName now defined in segnames.h
[cc65] / src / cc65 / dataseg.c
index bcc51d2a7ae48e8542711aa05c3d71325facad2c..72b22ce763b24625ef1f85c9e5e3611465b1aae2 100644 (file)
@@ -81,7 +81,7 @@ void DS_Append (DataSeg* Target, const DataSeg* Source)
 
 
 
-void DS_AddLine (DataSeg* S, const char* Format, va_list ap)
+void DS_AddVLine (DataSeg* S, const char* Format, va_list ap)
 /* Add a line to the given data segment */
 {
     /* Format the line */
@@ -94,6 +94,17 @@ void DS_AddLine (DataSeg* S, const char* Format, va_list ap)
 
 
 
+void DS_AddLine (DataSeg* S, const char* Format, ...)
+/* Add a line to the given data segment */
+{
+    va_list ap;
+    va_start (ap, Format);
+    DS_AddVLine (S, Format, ap);
+    va_end (ap);
+}
+
+
+
 void DS_Output (const DataSeg* S, FILE* F)
 /* Output the data segment data to a file */
 {