summaryrefslogtreecommitdiffstats
path: root/usr.bin/arch/arch.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-10 22:20:44 +0000
committerderaadt <deraadt@openbsd.org>2003-06-10 22:20:44 +0000
commit1837a5ca509d93cac77d2e89322c0c4869f9215d (patch)
tree52dbe14a25e44bdf8161f4c51f39a50c072fe221 /usr.bin/arch/arch.c
parentIt would kind of help if the flags member was initialized, otherwise random (diff)
downloadwireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.tar.xz
wireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.zip
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/arch/arch.c')
-rw-r--r--usr.bin/arch/arch.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/arch/arch.c b/usr.bin/arch/arch.c
index c76069332c8..f584f9d7848 100644
--- a/usr.bin/arch/arch.c
+++ b/usr.bin/arch/arch.c
@@ -24,7 +24,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: arch.c,v 1.7 2003/06/04 16:24:45 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: arch.c,v 1.8 2003/06/10 22:20:44 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -39,9 +39,7 @@ static void usage(void);
static int machine;
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
char *arch;
char *opts;
@@ -89,7 +87,7 @@ main(argc, argv)
}
static void
-usage()
+usage(void)
{
if (machine)
fprintf(stderr, "usage: machine [-a]\n");