summaryrefslogtreecommitdiffstats
path: root/trek/destruct.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-05-24 19:18:44 +0000
committerdholland <dholland@NetBSD.org>2009-05-24 19:18:44 +0000
commitf31fc2c1d85c05180f4cedad70ca7ec4eb8bb85f (patch)
tree1e15cca5fb3f9fb257f16fa6e62d5d340c2b5a7e /trek/destruct.c
parent90b64f7f9542e62fa50679637aa870abd315f331 (diff)
downloadbsdgames-darwin-f31fc2c1d85c05180f4cedad70ca7ec4eb8bb85f.tar.gz
bsdgames-darwin-f31fc2c1d85c05180f4cedad70ca7ec4eb8bb85f.tar.zst
bsdgames-darwin-f31fc2c1d85c05180f4cedad70ca7ec4eb8bb85f.zip
ANSIfy function declarations. No object file diffs except for two functions
whose K&R declaration didn't fully match the prototype (char vs. int) and the diff of the disassembly of those looks plausible.
Diffstat (limited to 'trek/destruct.c')
-rw-r--r--trek/destruct.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/trek/destruct.c b/trek/destruct.c
index 6f22517b..0ce2d0d3 100644
--- a/trek/destruct.c
+++ b/trek/destruct.c
@@ -1,4 +1,4 @@
-/* $NetBSD: destruct.c,v 1.8 2007/12/15 19:44:44 perry Exp $ */
+/* $NetBSD: destruct.c,v 1.9 2009/05/24 19:18:44 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)destruct.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: destruct.c,v 1.8 2007/12/15 19:44:44 perry Exp $");
+__RCSID("$NetBSD: destruct.c,v 1.9 2009/05/24 19:18:44 dholland Exp $");
#endif
#endif /* not lint */
@@ -66,8 +66,7 @@ __RCSID("$NetBSD: destruct.c,v 1.8 2007/12/15 19:44:44 perry Exp $");
/*ARGSUSED*/
void
-destruct(v)
- int v __unused;
+destruct(int v __unused)
{
char checkpass[15];
int i, j;