From e95a23cb39fa8e1cd885f1820c729c1530f61239 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 31 Jan 2001 19:26:52 +0000 Subject: KNF --- usr.bin/man/man.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'usr.bin/man') diff --git a/usr.bin/man/man.c b/usr.bin/man/man.c index 738b6246556..21add15672e 100644 --- a/usr.bin/man/man.c +++ b/usr.bin/man/man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man.c,v 1.15 1999/10/18 01:46:36 aaron Exp $ */ +/* $OpenBSD: man.c,v 1.16 2001/01/31 19:26:51 deraadt Exp $ */ /* $NetBSD: man.c,v 1.7 1995/09/28 06:05:34 tls Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)man.c 8.17 (Berkeley) 1/31/95"; #else -static char rcsid[] = "$OpenBSD: man.c,v 1.15 1999/10/18 01:46:36 aaron Exp $"; +static char rcsid[] = "$OpenBSD: man.c,v 1.16 2001/01/31 19:26:51 deraadt Exp $"; #endif #endif /* not lint */ @@ -561,7 +561,8 @@ build_page(fmt, pathp) intmpp = addlist("_intmp"); /* Move to the printf(3) format string. */ - for (; *fmt && isspace(*fmt); ++fmt); + for (; *fmt && isspace(*fmt); ++fmt) + ; /* * Get a temporary file and build a version of the file @@ -681,8 +682,10 @@ check_pager(name) * if the user uses "more", we make it "more -s"; watch out for * PAGER = "mypager /usr/ucb/more" */ - for (p = name; *p && !isspace(*p); ++p); - for (; p > name && *p != '/'; --p); + for (p = name; *p && !isspace(*p); ++p) + ; + for (; p > name && *p != '/'; --p) + ; if (p != name) ++p; -- cgit v1.2.3