summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-02-08 08:24:30 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-02-08 08:24:30 +0000
commit3c490f3eba9c3389d1f45953d472b6618421e64f (patch)
treea7ede84fd3256cd986c26ad942f8746fc0a533bf /usr.bin
parent96dbcfc267b7fdaa47fbba33d46f7c690bc651fd (diff)
finger/mail: two trivial functions were missed in earlier ansi passes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/finger/net.c5
-rw-r--r--usr.bin/mail/cmd3.c5
2 files changed, 4 insertions, 6 deletions
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;