-/* $NetBSD: rest.c,v 1.7 2007/12/15 19:44:45 perry Exp $ */
+/* $NetBSD: rest.c,v 1.9 2009/05/24 21:44:56 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
#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.9 2009/05/24 21:44:56 dholland Exp $");
#endif
#endif /* not lint */
/*ARGSUSED*/
void
-rest(v)
- int v __unused;
+rest(int v __unused)
{
double t;
int percent;
if (t <= 0.0)
return;
percent = 100 * t / Now.time + 0.5;
- if (percent >= 70)
- {
+ if (percent >= 70) {
printf("Spock: That would take %d%% of our remaining time.\n",
percent);
if (!getynpar("Are you really certain that is wise"))