Module Name: src Committed By: rillig Date: Fri Jun 23 20:37:02 UTC 2023
Modified Files: src/usr.bin/xlint/lint1: debug.c Log Message: lint: remove redundant printflike declarations from debugging code To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.bin/xlint/lint1/debug.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/xlint/lint1/debug.c diff -u src/usr.bin/xlint/lint1/debug.c:1.33 src/usr.bin/xlint/lint1/debug.c:1.34 --- src/usr.bin/xlint/lint1/debug.c:1.33 Sat Jun 3 20:58:00 2023 +++ src/usr.bin/xlint/lint1/debug.c Fri Jun 23 20:37:02 2023 @@ -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;