freebsd-dev/share/examples
Andriy Gapon 896c58786c add example indent.pro file believed to produce code with minimal differences from KNF
This file is what bde uses!
With addition of some types from queue(3) by hps.
Please note that the output will not be KNF and currently it's not
possible to achieve correct KNF with any combination of options.
indent(1) needs to be made smarter.

Some issues:
o indent produces a space between a queue type macro and opening
  parenthesis
o indent produces a tab before __packed and __aligned
o indent produce a space after #define

bde also notes difference in the following options between this profile
and profile in /usr/src/admin/style of 4.4BSD:
-cdb -ei -ip8 -nsob

Also, NetBSD uses -di0 instead of -di8.

Location for the profile is suggested by jh.

Submitted by:	Hans Petter Selasky (parts)
Obtained from:	bde :-)
MFC after:	10 days
X-ToDo:		make indent able to produce proper (perfect) KNF
X-Perhaps-ToDo:	make KNF default output
2010-04-02 16:06:46 +00:00
..
autofs/driver Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
bootforth
BSD_daemon
cvsup Update example for RELENG_8. 2009-08-24 18:43:22 +00:00
diskless doc fix: option MFS is obsolete. use MD_ROOT instead. 2006-06-02 15:01:11 +00:00
drivers Also use dev2unit() in the pseudo-driver example script. 2008-09-27 16:52:57 +00:00
etc Removed one more Alpha leftover. 2009-12-21 12:32:13 +00:00
find_interface
FreeBSD_version Add unistd.h to the getosreldate(3) manpage. 2008-09-30 11:25:55 +00:00
hast Please welcome HAST - Highly Avalable Storage. 2010-02-18 23:16:19 +00:00
hwpmc Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities 2005-04-19 04:01:25 +00:00
ibcs2
indent add example indent.pro file believed to produce code with minimal differences from KNF 2010-04-02 16:06:46 +00:00
ipfilter Remove NO_OBJ now that this makefile builds something. 2006-03-01 22:59:00 +00:00
ipfw
IPv6
kld Conform style.Makefile(5) and replace = and += with ?=, which lets you to 2010-02-01 16:13:56 +00:00
libvgl
mdoc Revert my previous change as it does not seem to be entirely correct and 2006-09-27 21:28:44 +00:00
netgraph Retire /usr/share/examples/netgraph/bluetooth/rc.bluetooth. 2007-04-24 16:58:54 +00:00
nwclient
perfmon
pf Update pf examples from OpenBSD to catch up with new stateful defaults and 2007-11-11 01:16:51 +00:00
portal
ppi Correct a comment about which parallel port pin is used to drive 2005-04-17 21:55:00 +00:00
ppp Mention the danger of running programs using ``!''. 2009-05-26 07:40:32 +00:00
printing
scsi_target Tell about the full name we opened, not the unit. 2009-09-19 20:36:43 +00:00
ses Cleanup code to make it WARNS=6 clean: 2009-11-04 23:36:23 +00:00
smbfs
sunrpc
witness Add a new awk script which parses informations returned by the newly 2008-05-07 21:50:17 +00:00
Makefile Please welcome HAST - Highly Avalable Storage. 2010-02-18 23:16:19 +00:00