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/rest.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'trek/rest.c') diff --git a/trek/rest.c b/trek/rest.c index d4478c6f..1478e9b4 100644 --- a/trek/rest.c +++ b/trek/rest.c @@ -1,4 +1,4 @@ -/* $NetBSD: rest.c,v 1.7 2007/12/15 19:44:45 perry Exp $ */ +/* $NetBSD: rest.c,v 1.8 2009/05/24 19:18:44 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)rest.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: rest.c,v 1.7 2007/12/15 19:44:45 perry Exp $"); +__RCSID("$NetBSD: rest.c,v 1.8 2009/05/24 19:18:44 dholland Exp $"); #endif #endif /* not lint */ @@ -58,8 +58,7 @@ __RCSID("$NetBSD: rest.c,v 1.7 2007/12/15 19:44:45 perry Exp $"); /*ARGSUSED*/ void -rest(v) - int v __unused; +rest(int v __unused) { double t; int percent; -- cgit v1.2.3-56-ge451