summaryrefslogtreecommitdiff
path: root/bin/ksh
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-27 05:25:02 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-27 05:25:02 +0000
commit8cac0c0f050610a7b7c1f92b84764edfc3228713 (patch)
tree4534fff0eb8ef39846fc55a504a830b50083b51a /bin/ksh
parent01920d55838fea9e7239edbd2a78fb35fd9bf333 (diff)
lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */
(others require more care)
Diffstat (limited to 'bin/ksh')
-rw-r--r--bin/ksh/tree.c8
1 files changed, 1 insertions, 7 deletions
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, ...)
{