The NetBSD Project

CVS log for src/share/misc/style

[BACK] Up to [cvs.NetBSD.org] / src / share / misc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.53 / (download) - annotate - [select for diffs], Mon May 23 11:41:06 2016 UTC (2 years, 5 months ago) by salazar
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored) to selected 1.1 (colored)

fix spelling mistakes

Revision 1.52 / (download) - annotate - [select for diffs], Sat Oct 24 15:46:09 2015 UTC (3 years ago) by christos
Branch: MAIN
Changes since 1.51: +6 -3 lines
Diff to previous 1.51 (colored) to selected 1.1 (colored)

Amend variable initialization in the declarations comment.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:37:53 2014 UTC (4 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.49.2.1: +3 -3 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored) to selected 1.1 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:54 2013 UTC (5 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored) to selected 1.1 (colored)

resync from head

Revision 1.51 / (download) - annotate - [select for diffs], Fri Mar 8 16:50:02 2013 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, agc-symver-base, agc-symver
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored) to selected 1.1 (colored)

PR/47632: Supratim Chakraborty: Spelling Mistake for Variadic functions

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 18:59:45 2012 UTC (6 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.49: +9 -4 lines
Diff to previous 1.49 (colored) to selected 1.1 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Wed Jun 27 22:04:02 2012 UTC (6 years, 4 months ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.49: +9 -4 lines
Diff to previous 1.49 (colored) to selected 1.1 (colored)

Elaborate and clarify rules about #include order.

ok christos

Revision 1.49 / (download) - annotate - [select for diffs], Thu Sep 1 09:33:01 2011 UTC (7 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.48: +12 -2 lines
Diff to previous 1.48 (colored) to selected 1.1 (colored)

explain NULL casts

Revision 1.48 / (download) - annotate - [select for diffs], Sat Aug 27 17:48:11 2011 UTC (7 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.47: +2 -3 lines
Diff to previous 1.47 (colored) to selected 1.1 (colored)

Prototyping main is silly and shouldn't be encouraged.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Oct 30 20:12:32 2010 UTC (8 years ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored) to selected 1.1 (colored)

make usage dead.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Apr 24 00:54:07 2010 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.45: +6 -3 lines
Diff to previous 1.45 (colored) to selected 1.1 (colored)

Be explicit about sizeof(*var) being preferred over sizeof(type).

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:16 2009 UTC (9 years, 6 months ago) by jym
Branch: jym-xensuspend
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.1 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.45 / (download) - annotate - [select for diffs], Sun Feb 15 07:01:41 2009 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) to selected 1.1 (colored)

Avoid trailing whitespace. It is definitely against the style rules.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:24 2008 UTC (10 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.42: +6 -5 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.1 (colored)

Sync with HEAD.

Revision 1.42.8.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:38:09 2008 UTC (10 years, 1 month ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.1 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Sep 9 19:18:41 2008 UTC (10 years, 2 months ago) by jschauma
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: jym-xensuspend
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) to selected 1.1 (colored)

move punctuation of a complete sentence into its parens

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 20 00:51:19 2008 UTC (10 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.42: +5 -4 lines
Diff to previous 1.42 (colored) to selected 1.1 (colored)

Remove the \n from the __COPYRIGHT example; what(1) stops extracting
at them, so we lose most of the message.

Revision 1.40.4.2 / (download) - annotate - [select for diffs], Sun Mar 23 00:45:37 2008 UTC (10 years, 7 months ago) by matt
Branch: matt-armv6
Changes since 1.40.4.1: +3 -3 lines
Diff to previous 1.40.4.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored) to selected 1.1 (colored)

sync with HEAD

Revision 1.42 / (download) - annotate - [select for diffs], Sat Feb 16 14:22:16 2008 UTC (10 years, 8 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: wrstuden-revivesa, mjf-devfs2
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) to selected 1.1 (colored)

Don't mention <machine/int_fmtio.h>; code should just
include <inttypes.h> to get intmax_t, PRIdMAX, and friends.

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:13:20 2007 UTC (11 years ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.1 (colored)

sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Thu Sep 20 18:27:17 2007 UTC (11 years, 1 month ago) by plunky
Branch: MAIN
CVS Tags: matt-armv6-base, cube-autoconf-base, cube-autoconf
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.1 (colored)

getopt uses : when an argument is expected

Revision 1.40 / (download) - annotate - [select for diffs], Sat May 26 18:48:48 2007 UTC (11 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.39: +5 -5 lines
Diff to previous 1.39 (colored) to selected 1.1 (colored)

Fix reversed test and missing +; from Joerg Niendorf

Revision 1.39 / (download) - annotate - [select for diffs], Fri Apr 13 13:23:58 2007 UTC (11 years, 7 months ago) by darcy
Branch: MAIN
Changes since 1.38: +12 -2 lines
Diff to previous 1.38 (colored) to selected 1.1 (colored)

Add entry about making include files self-sufficient.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 2 22:44:41 2006 UTC (12 years ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Changes since 1.37: +16 -3 lines
Diff to previous 1.37 (colored) to selected 1.1 (colored)

update brace comments to reflect current reality.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Feb 25 11:07:19 2006 UTC (12 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.36: +22 -17 lines
Diff to previous 1.36 (colored) to selected 1.1 (colored)

Mention the preferred option order in
getopt(), usage(), and man page.
Suggest describing newly added options in usage() and man page.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Aug 25 17:51:58 2005 UTC (13 years, 2 months ago) by briggs
Branch: MAIN
Changes since 1.35: +21 -5 lines
Diff to previous 1.35 (colored) to selected 1.1 (colored)

Add some comments about using inttypes.h / int_fmtio.h macros.
Show use of PRIdMAX, PRIxMAX, PRId64, PRIx32, and refer to SCN*.
Inspired by comments from Roland Illig and others.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Aug 20 16:17:36 2005 UTC (13 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.34: +3 -4 lines
Diff to previous 1.34 (colored) to selected 1.1 (colored)

Partly reverted my last change. I had forgotten that off_t is a signed
data type.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Aug 20 09:03:29 2005 UTC (13 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.33: +6 -4 lines
Diff to previous 1.33 (colored) to selected 1.1 (colored)

Don't cast unsigned values to long long. They might overflow.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Aug 20 08:58:57 2005 UTC (13 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) to selected 1.1 (colored)

Use exit(EXIT_FAILURE) instead of exit(1).

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jun 10 06:35:41 2005 UTC (13 years, 5 months ago) by junyoung
Branch: MAIN
Changes since 1.31: +5 -3 lines
Diff to previous 1.31 (colored) to selected 1.1 (colored)

More clarification on uintN_t.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Feb 3 00:27:55 2005 UTC (13 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored) to selected 1.1 (colored)

Make comment more specific.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Feb 2 23:33:42 2005 UTC (13 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) to selected 1.1 (colored)

fix accidental join that made the comment look like functions that
return ``void *'' should not be cast'ed.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Feb 1 13:43:38 2005 UTC (13 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.28: +7 -6 lines
Diff to previous 1.28 (colored) to selected 1.1 (colored)

Add missing (void) cast to printf return.
Prefer returning from main rather than calling exit.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 3 13:59:40 2005 UTC (13 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored) to selected 1.1 (colored)

Add uint32_t as example (so that it is implicitly clear we prefer the C99 types).

Revision 1.27 / (download) - annotate - [select for diffs], Sat Sep 27 21:17:31 2003 UTC (15 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.1 (colored)

Use uintN_t in code example instead of u_intN_t.  Agrees with current
standards (and more importantly Klaus too :-).

Revision 1.26 / (download) - annotate - [select for diffs], Tue Aug 5 13:26:13 2003 UTC (15 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.25: +7 -6 lines
Diff to previous 1.25 (colored) to selected 1.1 (colored)

Recommend EXIT_SUCCESS and EXIT_FAILURE for exit status, instead of directly
using 0 and 1 values, respectively.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Jun 2 14:56:46 2003 UTC (15 years, 5 months ago) by tron
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Changes since 1.20: +5 -3 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.1 (colored)

Pull up revision 1.23 (requested by mason in ticket #1191):
Return value style update (no parentheses)

Revision 1.25 / (download) - annotate - [select for diffs], Thu Apr 17 02:59:29 2003 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.24: +6 -3 lines
Diff to previous 1.24 (colored) to selected 1.1 (colored)

check strtol for ERANGE overflow too...

Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 10 03:50:38 2003 UTC (15 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored) to selected 1.1 (colored)

There's no need anymore to protect __COPYRIGHT() and __RCSID() with:
	#ifndef __lint
	...
	#endif

Revision 1.23 / (download) - annotate - [select for diffs], Tue Mar 4 14:22:15 2003 UTC (15 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.22: +5 -3 lines
Diff to previous 1.22 (colored) to selected 1.1 (colored)

Return value style update (no parentheses)

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 2 18:25:45 2003 UTC (15 years, 8 months ago) by jhawk
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) to selected 1.1 (colored)

Amend rev 1.21: there is insufficient concensus on #define<TAB>.
Permit any whitespace after #define, but mandate consistency of
TABs within a file.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Feb 23 14:58:50 2003 UTC (15 years, 8 months ago) by jhawk
Branch: MAIN
Changes since 1.20: +4 -2 lines
Diff to previous 1.20 (colored) to selected 1.1 (colored)

Clarify that macros should be #define<TAB>; it's important to specify this
in the actual document, just not in the cvs logs (cf. rev 1.15).

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 23 18:51:05 2001 UTC (17 years ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, fvdl_fs64_base
Branch point for: netbsd-1-6
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored) to selected 1.1 (colored)

Inspired by rev. 1.18: consistency, pull in <assert.h> for _DIAGASSERT().

Revision 1.19 / (download) - annotate - [select for diffs], Tue Oct 23 18:45:13 2001 UTC (17 years ago) by kleink
Branch: MAIN
Changes since 1.18: +9 -2 lines
Diff to previous 1.18 (colored) to selected 1.1 (colored)

As discussed with Luke, add a short _DIAGASSERT(3) example.
Fixes PR lib/14324.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 21 00:04:43 2001 UTC (17 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored) to selected 1.1 (colored)

add include of stdlib.h, for use of setprogname() & getprogname()

Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 19 22:46:47 2001 UTC (17 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.16: +11 -5 lines
Diff to previous 1.16 (colored) to selected 1.1 (colored)

nuke __progname, suggest setprogname() and getprogname()

Revision 1.16 / (download) - annotate - [select for diffs], Wed Sep 6 14:12:45 2000 UTC (18 years, 2 months ago) by enami
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored) to selected 1.1 (colored)

Fix typos.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 4 08:01:16 2000 UTC (18 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored) to selected 1.1 (colored)

- fix spelo
- be consistent with #define<TAB> for macros

Revision 1.14 / (download) - annotate - [select for diffs], Fri Mar 10 12:46:30 2000 UTC (18 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.13: +9 -4 lines
Diff to previous 1.13 (colored) to selected 1.1 (colored)

add example on how to printf 64 bit quantities

Revision 1.13 / (download) - annotate - [select for diffs], Fri Mar 10 12:01:15 2000 UTC (18 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.1 (colored)

fix comment around CONSTCOND

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 2 08:51:54 2000 UTC (18 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.11: +172 -108 lines
Diff to previous 1.11 (colored) to selected 1.1 (colored)

major overhaul:
* require ANSI not K&R for prototypes, stdargs, etc
* document current practice for
	- rcsids & copyright
	- header file inclusion protection
	- expressions, and multi-statement macros
	- enum & struct decls
	- empty and large statements
	- wrapping long lines, prototypes, function decls

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 3 21:47:21 1999 UTC (19 years, 4 months ago) by abs
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.1 (colored)

Fix error in example - from VaX#n8 <vax@linkdead.paranoia.com>

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 29 07:24:20 1999 UTC (19 years, 9 months ago) by scottr
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.9: +8 -1 lines
Diff to previous 1.9 (colored) to selected 1.1 (colored)

Add a pointer to the indent(1) profile, and a disclaimer regarding same.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 20 23:13:54 1999 UTC (19 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored) to selected 1.1 (colored)

provide a better parenthesis example. from Brian Grayson in [misc/6714]

Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 1 06:51:09 1998 UTC (20 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.1 (colored)

Function type declarations are manatory now.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 9 06:58:39 1998 UTC (20 years, 9 months ago) by enami
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.1 (colored)

Make C sentense end with `;'.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 30 17:43:09 1996 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored) to selected 1.1 (colored)

RCS id police.  Side effect: shows the RCS id style we prefer :-)

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 31 04:58:32 1996 UTC (22 years, 7 months ago) by scottr
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.1 (colored)

getopt() returns -1 when the arg list is exhausted, not EOF.  Ironic
that it should show up here...

Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 10 22:28:18 1995 UTC (23 years, 7 months ago) by briggs
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.1 (colored)

Minor grammatical nit: "have too" -> "have to."

Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 19 14:14:40 1994 UTC (23 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.1 (colored)

s/externs.h/extern.h/

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 26 03:24:54 1994 UTC (24 years, 7 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.1: +111 -45 lines
Diff to previous 1.1 (colored)

style guide

Revision 1.1 / (download) - annotate - [selected], Fri Aug 6 07:30:52 1993 UTC (25 years, 3 months ago) by cgd
Branch: MAIN

overall source code style guide.  it is king.  revere it.

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.




CVSweb <webmaster@jp.NetBSD.org>