summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-12-24 11:53:11 +0000
committeraaron <aaron@openbsd.org>2000-12-24 11:53:11 +0000
commit8126b7f2ecde8c195740a5ad6c68fea870be1032 (patch)
tree08c40fa6b8fc9b34549547203b2d30efbb827c98
parentoops (diff)
downloadwireguard-openbsd-8126b7f2ecde8c195740a5ad6c68fea870be1032.tar.xz
wireguard-openbsd-8126b7f2ecde8c195740a5ad6c68fea870be1032.zip
Get rid of unused usage() exit code; pointed out by mpech@prosoft.org.lv
-rw-r--r--usr.bin/compile_et/compile_et.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/compile_et/compile_et.c b/usr.bin/compile_et/compile_et.c
index 0c9f3ea1685..37478fc46b8 100644
--- a/usr.bin/compile_et/compile_et.c
+++ b/usr.bin/compile_et/compile_et.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compile_et.c,v 1.8 2000/12/24 11:52:12 aaron Exp $ */
+/* $OpenBSD: compile_et.c,v 1.9 2000/12/24 11:53:11 aaron Exp $ */
/*
* Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
@@ -180,7 +180,7 @@ generate(void)
}
static void
-usage(int code)
+usage()
{
extern char *__progname;
@@ -194,7 +194,7 @@ main(int argc, char **argv)
char *p;
if (argc != 2)
- usage(1);
+ usage();
filename = argv[1];
yyin = fopen(filename, "r");