From 927a087250c6d788d6df6cc7fcb0359653e2efd3 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 24 May 2009 21:44:56 +0000 Subject: KNF: brace and comment placement. Object files identical. --- trek/capture.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'trek/capture.c') diff --git a/trek/capture.c b/trek/capture.c index 9c7414d2..510e4346 100644 --- a/trek/capture.c +++ b/trek/capture.c @@ -1,4 +1,4 @@ -/* $NetBSD: capture.c,v 1.9 2009/05/24 20:39:43 dholland Exp $ */ +/* $NetBSD: capture.c,v 1.10 2009/05/24 21:44:56 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)capture.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: capture.c,v 1.9 2009/05/24 20:39:43 dholland Exp $"); +__RCSID("$NetBSD: capture.c,v 1.10 2009/05/24 21:44:56 dholland Exp $"); #endif #endif /* not lint */ @@ -64,8 +64,7 @@ capture(int v __unused) double x; /* check for not cloaked */ - if (Ship.cloaked) - { + if (Ship.cloaked) { printf("Ship-ship communications out when cloaked\n"); return; } @@ -74,8 +73,7 @@ capture(int v __unused) return; } /* find out if there are any at all */ - if (Etc.nkling <= 0) - { + if (Etc.nkling <= 0) { printf("Uhura: Getting no response, sir\n"); return; } @@ -96,8 +94,7 @@ capture(int v __unused) if (Trace) printf("Prob = %d (%.4f)\n", i, x); #endif - if (i > ranf(100)) - { + if (i > ranf(100)) { /* guess what, he surrendered!!! */ printf("Klingon at %d,%d surrenders\n", k->x, k->y); i = ranf(Param.klingcrew); -- cgit v1.2.3-56-ge451