From f31fc2c1d85c05180f4cedad70ca7ec4eb8bb85f Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 24 May 2009 19:18:44 +0000 Subject: 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. --- trek/autover.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'trek/autover.c') diff --git a/trek/autover.c b/trek/autover.c index 56706a2f..5bdc8d7e 100644 --- a/trek/autover.c +++ b/trek/autover.c @@ -1,4 +1,4 @@ -/* $NetBSD: autover.c,v 1.5 2003/08/07 09:37:49 agc Exp $ */ +/* $NetBSD: autover.c,v 1.6 2009/05/24 19:18:44 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)autover.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: autover.c,v 1.5 2003/08/07 09:37:49 agc Exp $"); +__RCSID("$NetBSD: autover.c,v 1.6 2009/05/24 19:18:44 dholland Exp $"); #endif #endif /* not lint */ @@ -60,7 +60,7 @@ __RCSID("$NetBSD: autover.c,v 1.5 2003/08/07 09:37:49 agc Exp $"); */ void -autover() +autover(void) { double dist; int course; -- cgit v1.2.3