1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/share
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
..
colldef Add lv_LV, move lt_LT to common part 2009-09-03 16:53:11 +00:00
dict Add "Massachusetts". 2010-03-17 15:31:06 +00:00
doc Move USD documents from /usr/share/doc/papers to to /usr/share/doc/usd. 2010-01-22 23:19:48 +00:00
examples add example indent.pro file believed to produce code with minimal differences from KNF 2010-04-02 16:06:46 +00:00
info
man WITH_CTF can now be specified in src.conf (not recommended, there 2010-04-02 06:55:31 +00:00
me
misc - Add myself to the ports committer list 2010-04-01 12:18:44 +00:00
mk WITH_CTF can now be specified in src.conf (not recommended, there 2010-04-02 06:55:31 +00:00
mklocale Add lv_LV, move lt_LT to common part 2009-09-03 17:12:45 +00:00
monetdef Last character is a space for the international currency symbol. 2009-09-13 22:17:23 +00:00
msgdef Add lv_LV 2009-09-04 06:19:37 +00:00
numericdef Add lv_LV 2009-09-03 17:37:23 +00:00
security Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
sendmail
skel Switch the default terminal emulation style to xterm for most platforms. 2009-11-13 05:54:55 +00:00
snmp
syscons Add missing newline in last line of file. 2010-02-16 09:10:21 +00:00
tabset
termcap Properly make the end key work again for TERM=xterm. 2010-01-10 21:41:37 +00:00
timedef Since %b contains unit, %b is not suitable for c_fmt, now. Use %_m 2009-11-14 15:56:23 +00:00
zoneinfo Officially speaking, the zoneinfo data files are contributed data. 2010-02-25 06:44:16 +00:00
Makefile
Makefile.inc