From 8cac0c0f050610a7b7c1f92b84764edfc3228713 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sun, 27 Sep 2015 05:25:02 +0000 Subject: lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */ (others require more care) --- bin/ksh/tree.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'bin/ksh') diff --git a/bin/ksh/tree.c b/bin/ksh/tree.c index b87f14b9b8b..dba66d8b25b 100644 --- a/bin/ksh/tree.c +++ b/bin/ksh/tree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tree.c,v 1.23 2015/09/17 14:21:33 nicm Exp $ */ +/* $OpenBSD: tree.c,v 1.24 2015/09/27 05:25:00 guenther Exp $ */ /* * command tree climbing @@ -348,11 +348,6 @@ tputS(char *wp, struct shf *shf) } } -/* - * this is the _only_ way to reliably handle - * variable args with an ANSI compiler - */ -/* VARARGS */ void fptreef(struct shf *shf, int indent, const char *fmt, ...) { @@ -363,7 +358,6 @@ fptreef(struct shf *shf, int indent, const char *fmt, ...) va_end(va); } -/* VARARGS */ char * snptreef(char *s, int n, const char *fmt, ...) { -- cgit v1.2.3