PERFORCE change 128846 for review

Hans Petter Selasky hselasky at FreeBSD.org
Thu Nov 8 14:18:19 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=128846

Change 128846 by hselasky at hselasky_laptop001 on 2007/11/08 22:17:26

	
	Update style script to handle TAILQ_HEAD() and
	LIST_HEAD() macros correctly.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_style.sh#2 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_style.sh#2 (text+ko) ====

@@ -15,10 +15,12 @@
 #
 
 (cat $1 | indent -Toss_mixerinfo -TFILE -Tu_char -Tu_int -Tu_long \
+ -TTAILQ_HEAD -TLIST_HEAD \
  -Tu_short -Tfd_set -ta -st -bad -bap -nbbb -nbc -br -nbs \
  -c41 -cd41 -cdb -ce -ci4 -cli0 -d0 -di8 -ndj -ei -nfc1 \
  -nfcb -i8 -ip8 -l79 -lc77 -ldi0 -nlp -npcs -psl -sc \
  -nsob -nv | 
+ sed -e "s/_HEAD [(]/_HEAD(/g" |
  sed -e "s/	__packed/ __packed/g" | 
  sed -e "s/	__aligned/ __aligned/g" ) > temp
 


More information about the p4-projects mailing list