From 6e5c928eb70a04233ae0c2d40c753db7590f81e5 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 2 May 2023 09:51:22 +0000 Subject: [PATCH] Switch K&R function definition to ANSI to make clang 15 happier --- usr.bin/wall/ttymsg.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/usr.bin/wall/ttymsg.c b/usr.bin/wall/ttymsg.c index af279ddfb31..c1570e20d46 100644 --- a/usr.bin/wall/ttymsg.c +++ b/usr.bin/wall/ttymsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ttymsg.c,v 1.20 2021/10/24 21:24:17 deraadt Exp $ */ +/* $OpenBSD: ttymsg.c,v 1.21 2023/05/02 09:51:22 tb Exp $ */ /* $NetBSD: ttymsg.c,v 1.3 1994/11/17 07:17:55 jtc Exp $ */ /* @@ -54,11 +54,7 @@ char *ttymsg(struct iovec *, int, char *, int); * ignored (exclusive-use, lack of permission, etc.). */ char * -ttymsg(iov, iovcnt, line, tmout) - struct iovec *iov; - int iovcnt; - char *line; - int tmout; +ttymsg(struct iovec *iov, int iovcnt, char *line, int tmout) { static char device[MAXNAMLEN] = _PATH_DEV; static char errbuf[1024]; -- 2.20.1