[dhcp-agent-commits] dhcp-agent .indent.pro,NONE,1.1 doindent.sh,NONE,1.1 .cvsignore,1.3,1.4
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2002-11-16 00:24:14
|
Update of /cvsroot/dhcp-agent/dhcp-agent In directory usw-pr-cvs1:/tmp/cvs-serv31010 Modified Files: .cvsignore Added Files: .indent.pro doindent.sh Log Message: now with automatic indentation --- NEW FILE: .indent.pro --- /* basically use K&R style */ -kr /* line continuation options */ -lp /* indenting options */ -i4 -nut /* blank lines */ -nsob /* spacing at for,while,if... */ -nsaf -nsai -nsaw /* other stuff */ -nbs -ncs -npcs -c1 -ts1 -l100 /* typedefs */ -T uint32_t -T uint16_t -T uint8_t -T int32_t -T int16_t -T int8_t -T list_t -T cache_entry_t -T client_cache_t -T client_conf_t -T ip_addr_t -T eth_addr_t -T dhcp_client_control_t -T glob_conf_t -T interface_control_t -T dhcp_option_t -T rawnet_t -T rtt_t -T timer_trigger_t -T timer_keeper_t -T parser_t -T varfile_t -T token_t -T atom_t --- NEW FILE: doindent.sh --- #!/bin/sh # # $Header: /cvsroot/dhcp-agent/dhcp-agent/doindent.sh,v 1.1 2002/11/16 00:23:41 actmodern Exp $ # Walk through subdirs and indent files. export INDENT_PROFILE=`pwd`/.indent.pro subdirs=src for dir in $subdirs; do cd $dir list=`ls | grep '\.[ch]$'` for i in $list; do indent $i; done; cd .. done; Index: .cvsignore =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** .cvsignore 30 Oct 2002 04:56:04 -0000 1.3 --- .cvsignore 16 Nov 2002 00:23:41 -0000 1.4 *************** *** 8,9 **** --- 8,10 ---- stamp-h1 config.guess config.sub ltmain.sh + .indent.pro doindent.sh |