Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make make: use consistent variable names for varargs
details: https://anonhg.NetBSD.org/src/rev/777a5467ca86
branches: trunk
changeset: 359556:777a5467ca86
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Jan 09 15:48:30 2022 +0000
description:
make: use consistent variable names for varargs
No binary change.
diffstat:
usr.bin/make/make.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (34 lines):
diff -r f8fb500b273e -r 777a5467ca86 usr.bin/make/make.c
--- a/usr.bin/make/make.c Sun Jan 09 15:05:21 2022 +0000
+++ b/usr.bin/make/make.c Sun Jan 09 15:48:30 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: make.c,v 1.251 2022/01/08 09:53:44 rillig Exp $ */
+/* $NetBSD: make.c,v 1.252 2022/01/09 15:48:30 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -104,7 +104,7 @@
#include "job.h"
/* "@(#)make.c 8.1 (Berkeley) 6/6/93" */
-MAKE_RCSID("$NetBSD: make.c,v 1.251 2022/01/08 09:53:44 rillig Exp $");
+MAKE_RCSID("$NetBSD: make.c,v 1.252 2022/01/09 15:48:30 rillig Exp $");
/* Sequence # to detect recursion. */
static unsigned int checked_seqno = 1;
@@ -120,11 +120,11 @@
void
debug_printf(const char *fmt, ...)
{
- va_list args;
+ va_list ap;
- va_start(args, fmt);
- vfprintf(opts.debug_file, fmt, args);
- va_end(args);
+ va_start(ap, fmt);
+ vfprintf(opts.debug_file, fmt, ap);
+ va_end(ap);
}
MAKE_ATTR_DEAD static void
Home |
Main Index |
Thread Index |
Old Index