summaryrefslogtreecommitdiffstats
path: root/trek
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-08-29 20:30:36 +0000
committerjoerg <joerg@NetBSD.org>2011-08-29 20:30:36 +0000
commitb9729f21ecee00f10aeb911143988ae326aa17b7 (patch)
tree4d3a92dbe092b0aaf17c5ea7c278901582fc9410 /trek
parent541875a6ead0d5cd39c1ac898f463a0a32781c02 (diff)
downloadbsdgames-darwin-b9729f21ecee00f10aeb911143988ae326aa17b7.tar.gz
bsdgames-darwin-b9729f21ecee00f10aeb911143988ae326aa17b7.tar.zst
bsdgames-darwin-b9729f21ecee00f10aeb911143988ae326aa17b7.zip
Use __dead
Diffstat (limited to 'trek')
-rw-r--r--trek/main.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/trek/main.c b/trek/main.c
index 3c55293f..4f8a3b81 100644
--- a/trek/main.c
+++ b/trek/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.22 2009/05/25 00:37:27 dholland Exp $ */
+/* $NetBSD: main.c,v 1.23 2011/08/29 20:30:37 joerg Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.22 2009/05/25 00:37:27 dholland Exp $");
+__RCSID("$NetBSD: main.c,v 1.23 2011/08/29 20:30:37 joerg Exp $");
#endif
#endif /* not lint */
@@ -153,14 +153,12 @@ __RCSID("$NetBSD: main.c,v 1.22 2009/05/25 00:37:27 dholland Exp $");
jmp_buf env;
-static void
+__dead static void
usage(const char *av0)
{
errx(1, "Usage: %s [-fs]", av0);
}
-int main(int, char **);
-
int
main(int argc, char **argv)
{