From 2738cc3cfc053a5922aee655405c0ab620beae0f Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Wed, 8 Jan 2020 01:36:49 +0000 Subject: mk: plan9 style. In general, no space after `if` etc, and no braces for a single statement inside of a loop or conditional. Signed-off-by: Dan Cross --- src/cmd/mk/archive.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/cmd/mk/archive.c') diff --git a/src/cmd/mk/archive.c b/src/cmd/mk/archive.c index 6869bacf..026641bd 100644 --- a/src/cmd/mk/archive.c +++ b/src/cmd/mk/archive.c @@ -122,11 +122,11 @@ static int allspaces(char *a, int n) { int i; - for (i = 0; i < n; i++) { - if (a[i] != ' ') { + + for(i=0; i