From 0e03424ec1020afef3f7b87b118756ccb5a9732d Mon Sep 17 00:00:00 2001 From: Peter De Wachter Date: Sat, 23 Jan 2016 17:42:40 +0100 Subject: [PATCH] moreLabel is always used with one argument --- listing.c | 6 ++---- listing.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/listing.c b/listing.c index 2395e27..874374b 100644 --- a/listing.c +++ b/listing.c @@ -543,13 +543,11 @@ moreText(format, arg1, arg2, arg3) } void -moreLabel(format, arg1, arg2, arg3) +moreLabel(format, arg1) char *format; int arg1; - int arg2; - int arg3; { - sprintf(labelStringPtr, format, arg1, arg2, arg3); + sprintf(labelStringPtr, format, arg1); labelStringPtr = labelString + strlen(labelString); } diff --git a/listing.h b/listing.h index 418ab95..0721910 100644 --- a/listing.h +++ b/listing.h @@ -22,7 +22,7 @@ bool labeledLine(); void addText(char *buffer, char **bufferPtr, char *format, int arg1, int arg2, int arg3); void moreTextOptional(char *buffer, char **bufferPtr, char *format, int arg1, int arg2, int arg3); void moreText(char *format, int arg1, int arg2, int arg3); -void moreLabel(char *format, int arg1, int arg2, int arg3); +void moreLabel(char *format, int arg1); void startLine(); void endLine(); void flushExpressionString();