diff options
author | dholland <dholland@NetBSD.org> | 2009-05-24 21:44:56 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-05-24 21:44:56 +0000 |
commit | 927a087250c6d788d6df6cc7fcb0359653e2efd3 (patch) | |
tree | e1bd8e6ccde5d2a67885bac40ac518b2a855e3f4 /trek/rest.c | |
parent | 4ae8fc90b11f51c654ce09c6a9bb74c163f33076 (diff) | |
download | bsdgames-darwin-927a087250c6d788d6df6cc7fcb0359653e2efd3.tar.gz bsdgames-darwin-927a087250c6d788d6df6cc7fcb0359653e2efd3.tar.zst bsdgames-darwin-927a087250c6d788d6df6cc7fcb0359653e2efd3.zip |
KNF: brace and comment placement. Object files identical.
Diffstat (limited to 'trek/rest.c')
-rw-r--r-- | trek/rest.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/trek/rest.c b/trek/rest.c index 1478e9b4..1cac69c7 100644 --- a/trek/rest.c +++ b/trek/rest.c @@ -1,4 +1,4 @@ -/* $NetBSD: rest.c,v 1.8 2009/05/24 19:18:44 dholland Exp $ */ +/* $NetBSD: rest.c,v 1.9 2009/05/24 21:44:56 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.8 2009/05/24 19:18:44 dholland Exp $"); +__RCSID("$NetBSD: rest.c,v 1.9 2009/05/24 21:44:56 dholland Exp $"); #endif #endif /* not lint */ @@ -68,8 +68,7 @@ rest(int v __unused) 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")) |