OpenBSD CVS

CVS log for src/share/man/man9/style.9


[BACK] Up to [local] / src / share / man / man9

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.79 / (download) - annotate - [select for diffs], Sun Sep 11 06:38:11 2022 UTC (20 months, 3 weeks ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

.Li -> .Vt where appropriate;
from josiah frentsos, tweaked by schwarze

ok schwarze

Revision 1.78 / (download) - annotate - [select for diffs], Thu Mar 31 17:27:23 2022 UTC (2 years, 2 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jan 22 14:13:57 2021 UTC (3 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.76: +8 -6 lines
Diff to previous 1.76 (colored)

Private functions in the kernel do not to be prototyped.
We don't use static in the kernel due to ddb so functions private
to the compilation unit are basically equivalent.
OK cheloha@ gnezdo@ mglocker@

Revision 1.76 / (download) - annotate - [select for diffs], Sun May 10 00:56:06 2020 UTC (4 years ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.75: +7 -2 lines
Diff to previous 1.75 (colored)

Use a double-underscore prefix for local variables declared in macros
that have arguments.  Document this requirement/recommendation in style(9)

prompted by mpi@
ok deraadt@

Revision 1.75 / (download) - annotate - [select for diffs], Mon Feb 3 22:33:04 2020 UTC (4 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.74: +4 -7 lines
Diff to previous 1.74 (colored)

1. To avoid confusion, when showing a function definition, call it
a definition rather than a declaration, even though every definition
is of course also a declaration.
2. Prototype functions used from other files in include files; stop
restricting that advice to kernel code.
3. Drop some duplicate content.
OK jca@

Revision 1.74 / (download) - annotate - [select for diffs], Sun Feb 2 03:08:37 2020 UTC (4 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.73: +3 -15 lines
Diff to previous 1.73 (colored)

stop worrying about compilers that do not support ANSI C89;
OK deraadt@ millert@ jung@ jca@

Revision 1.73 / (download) - annotate - [select for diffs], Wed Dec 5 15:34:52 2018 UTC (5 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

fix incorrect usage of the .Bx macro;
one case reported by Fabio Scotoni <fabio at esse dot ch>,
the rest found with regress/usr.bin/mandoc/db/dbm_dump

Revision 1.72 / (download) - annotate - [select for diffs], Fri Oct 5 12:11:21 2018 UTC (5 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.71: +3 -12 lines
Diff to previous 1.71 (colored)

It is perfectly legal in C++ to use the same name for a struct tag
and a typedef.  Remove the bits saying otherwise.  We shouldn't
suggest using a leading underscore in a name since such names are
reserved for the language.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Jul 10 21:39:38 2017 UTC (6 years, 10 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.70: +4 -5 lines
Diff to previous 1.70 (colored)

prefer getprogname to the magic global __progname.
from Matthew Martin

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jan 22 22:57:15 2017 UTC (7 years, 4 months ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

improve on previous edit.
suggested by jmc@, thanks for watching over my feeble attempts to edit
manpages.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Jan 22 09:03:09 2017 UTC (7 years, 4 months ago) by benno
Branch: MAIN
Changes since 1.68: +2 -5 lines
Diff to previous 1.68 (colored)

remove the perfect example
ok lengthyhackroomdiscussion@

Revision 1.68 / (download) - annotate - [select for diffs], Tue Oct 18 18:13:56 2016 UTC (7 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.67: +2 -4 lines
Diff to previous 1.67 (colored)

Don't tell the programmer not to put variable declarations inside
blocks.  OK guenther@ kettenis@

Revision 1.67 / (download) - annotate - [select for diffs], Tue Oct 18 12:38:01 2016 UTC (7 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Use "continue;" instead of a bare ";" in the for() loop example
with no body.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Aug 24 16:14:24 2016 UTC (7 years, 9 months ago) by renato
Branch: MAIN
Changes since 1.65: +2 -3 lines
Diff to previous 1.65 (colored)

Since the removal of rwhod and friends a couple of years ago, there
isn't any file in the base system including <protocols/rwhod.h>. So,
stop suggesting the inclusion of this header in this man page.

ok tedu@ deraadt@ mpi@

Revision 1.65 / (download) - annotate - [select for diffs], Sun Nov 1 21:57:14 2015 UTC (8 years, 7 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.64: +4 -6 lines
Diff to previous 1.64 (colored)

Delete sentence about option ordering the manpage (moved to mdoc.7)
While here: PRINTFLIKE has been cleaned from base so don't mention it

suggested by and ok jmc@ schwarze@

Revision 1.64 / (download) - annotate - [select for diffs], Mon Oct 12 17:20:53 2015 UTC (8 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

Parentheses are useless after "return", it's not a function.
There is no need to mop this up everywhere, but at least style(9)
should show modern rather than historic style.
OK millert@ tedu@

Revision 1.63 / (download) - annotate - [select for diffs], Mon Oct 5 21:59:29 2015 UTC (8 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.62: +9 -10 lines
Diff to previous 1.62 (colored)

change a few examples to be more stylistic. pointed out by rob pierce

Revision 1.62 / (download) - annotate - [select for diffs], Mon Oct 5 01:22:34 2015 UTC (8 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

user land -> userland; from Rob Pierce

Revision 1.61 / (download) - annotate - [select for diffs], Sat Sep 26 15:40:28 2015 UTC (8 years, 8 months ago) by guenther
Branch: MAIN
Changes since 1.60: +6 -4 lines
Diff to previous 1.60 (colored)

Update guidelines for lint-style comments

ok krw@, schwarze@, jmc@, millert@, tedu@

Revision 1.60 / (download) - annotate - [select for diffs], Wed Sep 23 17:49:16 2015 UTC (8 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.59: +7 -6 lines
Diff to previous 1.59 (colored)

refer to err and warn families, suggested by Michael McConville

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jan 23 13:02:49 2015 UTC (9 years, 4 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.58: +3 -2 lines
Diff to previous 1.58 (colored)

Normal OpenBSD code fits in an 80 column term. From Jim Smith, ok dlg.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Jun 1 15:44:09 2014 UTC (10 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.57: +2 -9 lines
Diff to previous 1.57 (colored)

Remove mention of the old __P practice.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jan 21 03:15:46 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.56: +7 -7 lines
Diff to previous 1.56 (colored)

obvious .Pa fixes; found with mandocdb(8)

Revision 1.56 / (download) - annotate - [select for diffs], Wed Aug 14 08:39:28 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.55: +5 -6 lines
Diff to previous 1.55 (colored)

some Bx/Ox conversion;
From: Jan Stary

Revision 1.55 / (download) - annotate - [select for diffs], Wed Aug 14 06:32:32 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

no longer any need to quote macro lines with >9 args;
From: Jan Stary

Revision 1.54 / (download) - annotate - [select for diffs], Fri Nov 2 16:35:21 2012 UTC (11 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

replace "err(1, (char *)NULL);" with "err(1, NULL);"
from Rafael

ok haesbaert ratchov

Revision 1.53 / (download) - annotate - [select for diffs], Wed Apr 11 21:09:23 2012 UTC (12 years, 1 month ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.52: +8 -2 lines
Diff to previous 1.52 (colored)

Recommend using "unsigned int" instead of just "unsigned".
ok deraadt@, tweaks from jmc@ and todd@

Revision 1.52 / (download) - annotate - [select for diffs], Sun Apr 8 17:36:21 2012 UTC (12 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.51: +3 -4 lines
Diff to previous 1.51 (colored)

no more lint;

Revision 1.51 / (download) - annotate - [select for diffs], Sat Sep 17 08:38:26 2011 UTC (12 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

remove mdoc.samples(7): all info already is in mdoc(7)
feedback and ok  jmc@

Revision 1.50 / (download) - annotate - [select for diffs], Fri Nov 14 13:42:05 2008 UTC (15 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.49: +4 -9 lines
Diff to previous 1.49 (colored)

the warnings produced by -Wtraditional are not interesting, so remove it.
ok jmc otto

Revision 1.49 / (download) - annotate - [select for diffs], Fri Sep 28 00:13:23 2007 UTC (16 years, 8 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

make clear that the usage and synopsis take the same form

problem noticed by jakemsr@; rewording suggested by jmc@

ok jakemsr@, jmc@

Revision 1.48 / (download) - annotate - [select for diffs], Thu May 31 19:20:01 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

convert to new .Dd format;

Revision 1.47 / (download) - annotate - [select for diffs], Tue May 29 00:22:50 2007 UTC (17 years ago) by deraadt
Branch: MAIN
Changes since 1.46: +2 -7 lines
Diff to previous 1.46 (colored)

delete some overly fascist rules.. prodded by tom/jmc

Revision 1.46 / (download) - annotate - [select for diffs], Thu Feb 15 18:08:50 2007 UTC (17 years, 3 months ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.45: +1 -5 lines
Diff to previous 1.45 (colored)

forever loops may be done with for or while, it doesnt matter;
so remove a line that says it matters.

ok deraadt@

Revision 1.45 / (download) - annotate - [select for diffs], Sat May 27 05:05:16 2006 UTC (18 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.44: +1 -12 lines
Diff to previous 1.44 (colored)

remove bogus non-style advice that just causes "discussions"

Revision 1.44 / (download) - annotate - [select for diffs], Tue Mar 21 03:24:59 2006 UTC (18 years, 2 months ago) by ray
Branch: MAIN
Changes since 1.43: +6 -9 lines
Diff to previous 1.43 (colored)

Encourage using strtonum(3).
Sync variable declarations with variables used in getopt(3) loop.

OK otto@

Revision 1.43 / (download) - annotate - [select for diffs], Sun Mar 19 19:17:58 2006 UTC (18 years, 2 months ago) by ray
Branch: MAIN
Changes since 1.42: +1 -2 lines
Diff to previous 1.42 (colored)

Remove case '?': from getopt example.

OK otto@

Revision 1.42 / (download) - annotate - [select for diffs], Thu Oct 27 10:26:55 2005 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

make the example more likely to compile, ha ha; maticd@gmail.com

Revision 1.41 / (download) - annotate - [select for diffs], Mon Aug 8 13:15:58 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

lclint is not in the ports tree anymore, splint is. OK jmc@.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Jul 9 08:05:08 2005 UTC (18 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.39: +7 -2 lines
Diff to previous 1.39 (colored)

note that documentation has its own style guide, mdoc.samples(7);
suggested by beck@, ok tdeval@

Revision 1.39 / (download) - annotate - [select for diffs], Sun May 15 22:38:26 2005 UTC (19 years ago) by krw
Branch: MAIN
Changes since 1.38: +3 -6 lines
Diff to previous 1.38 (colored)

Update style recommendation around NULL usage, especially in function
parameters, after discussions a while ago with mickey@, deraadt@,
millert@.

Verbiage by millert@, ok millert@.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Apr 10 09:10:16 2004 UTC (20 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.37: +123 -127 lines
Diff to previous 1.37 (colored)

specify an indent for displays, plus some grammar;
ok deraadt@

Revision 1.37 / (download) - annotate - [select for diffs], Tue Feb 24 19:55:51 2004 UTC (20 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.36: +6 -2 lines
Diff to previous 1.36 (colored)

add FILES section documenting license.template;
from Nick Nauwelaerts;

ok deraadt@

Revision 1.36 / (download) - annotate - [select for diffs], Tue Feb 10 20:33:32 2004 UTC (20 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

describe `volatile' as type-qualifier, not specifier;
from Mathias K. Straede (PR 3681);

Revision 1.35 / (download) - annotate - [select for diffs], Sat Oct 4 11:35:31 2003 UTC (20 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.34: +8 -2 lines
Diff to previous 1.34 (colored)

Note that for usage(), numbers (as options) come first, followed by
alphabetical order (uppercase takes precedence over lower).
Man page option descriptions also appear in this order.

This is in line with NetBSD/FreeBSD pages.
Discussed with millert@ and deraadt@

Revision 1.34 / (download) - annotate - [select for diffs], Mon Sep 29 11:29:20 2003 UTC (20 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.33: +5 -5 lines
Diff to previous 1.33 (colored)

/usr include files -> /usr/include files;
from FreeBSD (rev. 1.103);

ok deraadt@ miod@

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jun 29 13:26:04 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.32: +7 -7 lines
Diff to previous 1.32 (colored)

swap .Pa Aq -> .Aq Pa to make both macros expand;

Revision 1.32 / (download) - annotate - [select for diffs], Sun Apr 20 20:04:17 2003 UTC (21 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

typos;

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 26 15:05:07 2003 UTC (21 years, 3 months ago) by david
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

start new sentence on a new line
ok mpech@

Revision 1.30 / (download) - annotate - [select for diffs], Tue Feb 25 08:51:31 2003 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

double word typos;

all from David Krause - thanks!

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jan 21 08:12:41 2003 UTC (21 years, 4 months ago) by hugh
Branch: MAIN
Changes since 1.28: +6 -6 lines
Diff to previous 1.28 (colored)

Style, punctuation and grammar fixups from Ted Unangst on bugs@.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 11 22:15:02 2002 UTC (21 years, 8 months ago) by marc
Branch: MAIN
Changes since 1.27: +31 -7 lines
Diff to previous 1.27 (colored)

Add a bit on volatile vs volatile pointers.  OK jason@ millert@

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 3 06:27:44 2002 UTC (22 years ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

use void keyword in usage example. ok theo

Revision 1.26 / (download) - annotate - [select for diffs], Thu May 23 09:30:35 2002 UTC (22 years ago) by mpech
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

'SEE ALSO' audit in 'share/man/':
o) sort;
o) "," is separator of entries;
o) don't use "." or "," in the last entry;

millert@ ok

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 1 18:41:27 2002 UTC (22 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.24: +4 -7 lines
Diff to previous 1.24 (colored)

recommending sysexits.h has been ridiculous from the start

Revision 1.24 / (download) - annotate - [select for diffs], Sun Feb 17 19:58:32 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.23: +6 -8 lines
Diff to previous 1.23 (colored)

Deprecate __P

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jan 12 16:23:36 2002 UTC (22 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.22: +52 -1 lines
Diff to previous 1.22 (colored)

 o Don't use register except in conjunction with assembler
 o use volatile to avoid clobbering by longjmp or vfork
 o variables to be modified in signal handlers should be volatile sig_atomic_t

Revision 1.22 / (download) - annotate - [select for diffs], Fri Oct 5 14:45:54 2001 UTC (22 years, 8 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

Powered by @mantoya:
o) start new sentence on a new line;
o) minor mdoc fixes;
millert@ ok

Tip of the day:   www.mpechismazohist.com

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 4 10:28:20 2001 UTC (22 years, 8 months ago) by wilfried
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

e.g. and i.e. cleanup

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 28 22:14:23 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored)

speling; jsyn@nthought.com

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jun 24 22:16:11 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.18: +10 -7 lines
Diff to previous 1.18 (colored)

No variable names associated with prototype parameters, even in the kernel.
By general consensus...

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 24 22:03:03 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.17: +6 -6 lines
Diff to previous 1.17 (colored)

No space between function name and parenthesized arg types in a function
prototype.  Also nuke some __P's while I am in here.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jun 18 15:17:04 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.16: +23 -31 lines
Diff to previous 1.16 (colored)

As discussed ages ago we prefer ANSI for new code.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Apr 10 17:31:55 2001 UTC (23 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.15: +1 -6 lines
Diff to previous 1.15 (colored)

Remove lies about printf vs. puts/fputs/putchar.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 14 21:21:31 2001 UTC (23 years, 2 months ago) by aaron
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Correct getopt usage in sample code; fixes PR/1729.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 6 19:56:52 2001 UTC (23 years, 3 months ago) by brad
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

first sweep ...
OpenBSD -> .Ox
NetBSD -> .Nx
FreeBSD -> .Fx
--
Ok'd by aaron@

Revision 1.13 / (download) - annotate - [select for diffs], Sun Feb 4 03:26:44 2001 UTC (23 years, 4 months ago) by jason
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Put KNF in the NAME field so apropos/man -k will find it.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 25 18:14:05 2001 UTC (23 years, 4 months ago) by aaron
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Clarify that local variable declarations should be sorted by size largest to
smallest; smart@monkey.org

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 21 15:41:26 2000 UTC (23 years, 5 months ago) by aaron
Branch: MAIN
Changes since 1.10: +2 -5 lines
Diff to previous 1.10 (colored)

Revert the previous commit: it made sense for human consumption, but lint(1)
and other code checkers don't like this special case. Pointed out by espie@
and michaels@inet.no.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 20 21:09:07 2000 UTC (23 years, 5 months ago) by aaron
Branch: MAIN
Changes since 1.9: +5 -2 lines
Diff to previous 1.9 (colored)

Mention that /* NOTREACHED */ is unncessary following an exit(3) call, where it
is obvious.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 25 15:03:41 2000 UTC (23 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Various fixes; from gluk@ptci.ru

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 12 18:06:03 2000 UTC (23 years, 7 months ago) by aaron
Branch: MAIN
Changes since 1.7: +73 -63 lines
Diff to previous 1.7 (colored)

General man page cleanups, mostly to remove trailing whitespace, hard
sentence breaks, and other such things.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 6 21:46:56 2000 UTC (24 years, 3 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Do not leave `(' characters dangling at the end of lines; instead, use the
appropriate mdoc macros to handle these cases.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Sep 14 06:21:23 1999 UTC (24 years, 8 months ago) by pjanzen
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.5: +87 -46 lines
Diff to previous 1.5 (colored)

Tidying and spelling

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 7 13:44:15 1999 UTC (24 years, 9 months ago) by d
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

+, millert@ ok

Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 6 13:36:42 1999 UTC (24 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored)

oops, thanks, Todd.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 5 16:23:12 1999 UTC (24 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.2: +9 -3 lines
Diff to previous 1.2 (colored)

New man pages, adapted from NetBSD.
Add corresponding cross-references.
Missed some uses of .Dv.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 31 17:08:04 1999 UTC (24 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.1: +25 -9 lines
Diff to previous 1.1 (colored)

A few C++ nits, more references.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Aug 19 08:12:11 1999 UTC (24 years, 9 months ago) by millert
Branch: MAIN

From FreeBSD with changes from /usr/share/misc/style

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.