summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-09-06 11:03:31 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-09-06 11:03:31 +0000
commit59c7b8f00689786be8dfe8c20f2cd9c7ea9c969e (patch)
tree6ec5dabd2c6c2704377e75cae81c978c82f51ba5
parentbb3b8f4cf039d308950c9ce8f5ece3e3400372c7 (diff)
use ansi function decls
-rw-r--r--usr.sbin/mopd/mopchk/mopchk.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr.sbin/mopd/mopchk/mopchk.c b/usr.sbin/mopd/mopchk/mopchk.c
index f1bccdbe05b..f740a6a5503 100644
--- a/usr.sbin/mopd/mopchk/mopchk.c
+++ b/usr.sbin/mopd/mopchk/mopchk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mopchk.c,v 1.20 2023/03/08 04:43:14 guenther Exp $ */
+/* $OpenBSD: mopchk.c,v 1.21 2023/09/06 11:03:30 jsg Exp $ */
/*
* Copyright (c) 1995-96 Mats O Jansson. All rights reserved.
@@ -52,9 +52,7 @@ extern char *__progname;
extern char version[];
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char **argv)
{
struct dllist dl;
int op, i;
@@ -142,7 +140,7 @@ main(argc, argv)
}
void
-Usage()
+Usage(void)
{
fprintf(stderr, "usage: %s [-av] [file ...]\n", __progname);
exit(1);
@@ -152,9 +150,7 @@ Usage()
* Process incoming packages, NOT.
*/
void
-mopProcess(ii, pkt)
- struct if_info *ii;
- u_char *pkt;
+mopProcess(struct if_info *ii, u_char *pkt)
{
}