Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: remove redundant printflike declar...
details: https://anonhg.NetBSD.org/src/rev/6a8089f00b96
branches: trunk
changeset: 376596:6a8089f00b96
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Jun 23 20:37:02 2023 +0000
description:
lint: remove redundant printflike declarations from debugging code
diffstat:
usr.bin/xlint/lint1/debug.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 529b13452ce8 -r 6a8089f00b96 usr.bin/xlint/lint1/debug.c
--- a/usr.bin/xlint/lint1/debug.c Fri Jun 23 12:11:22 2023 +0000
+++ b/usr.bin/xlint/lint1/debug.c Fri Jun 23 20:37:02 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: debug.c,v 1.33 2023/06/03 20:58:00 rillig Exp $ */
+/* $NetBSD: debug.c,v 1.34 2023/06/23 20:37:02 rillig Exp $ */
/*-
* Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID)
-__RCSID("$NetBSD: debug.c,v 1.33 2023/06/03 20:58:00 rillig Exp $");
+__RCSID("$NetBSD: debug.c,v 1.34 2023/06/23 20:37:02 rillig Exp $");
#endif
#include <stdlib.h>
@@ -62,7 +62,7 @@ debug_file(void)
return stdout;
}
-void __printflike(1, 2)
+void
debug_printf(const char *fmt, ...)
{
va_list va;
@@ -100,7 +100,7 @@ debug_enter_func(const char *func)
fprintf(debug_file(), "%*s+ %s\n", 2 * debug_indentation++, "", func);
}
-void __printflike(1, 2)
+void
debug_step(const char *fmt, ...)
{
va_list va;
Home |
Main Index |
Thread Index |
Old Index