From: tb Date: Wed, 8 Feb 2023 08:24:29 +0000 (+0000) Subject: finger/mail: two trivial functions were missed in earlier ansi passes X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ae17c7f76dc2fecc97552446464bbbd7e02b40a2;p=openbsd finger/mail: two trivial functions were missed in earlier ansi passes --- diff --git a/usr.bin/finger/net.c b/usr.bin/finger/net.c index 9a49b6648fa..a6955df348d 100644 --- a/usr.bin/finger/net.c +++ b/usr.bin/finger/net.c @@ -1,4 +1,4 @@ -/* $OpenBSD: net.c,v 1.14 2019/06/28 13:35:01 deraadt Exp $ */ +/* $OpenBSD: net.c,v 1.15 2023/02/08 08:24:29 tb Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -45,8 +45,7 @@ #include "extern.h" void -netfinger(name) - char *name; +netfinger(char *name) { FILE *fp; int c, lastc; diff --git a/usr.bin/mail/cmd3.c b/usr.bin/mail/cmd3.c index 0758fee9366..a1b8dbe5934 100644 --- a/usr.bin/mail/cmd3.c +++ b/usr.bin/mail/cmd3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd3.c,v 1.28 2019/06/28 13:35:01 deraadt Exp $ */ +/* $OpenBSD: cmd3.c,v 1.29 2023/02/08 08:24:29 tb Exp $ */ /* $NetBSD: cmd3.c,v 1.8 1997/07/09 05:29:49 mikel Exp $ */ /* @@ -186,8 +186,7 @@ respond(void *v) * message header and send them off to mail1() */ int -_respond(msgvec) - int *msgvec; +_respond(int *msgvec) { struct message *mp; char *cp, *rcv, *replyto;