3 ## $Id: indent 5165 2002-03-02 01:43:53Z rra $
5 ## Run indent on source files with INN options.
7 ## This is a simple wrapper around GNU indent to call it with all of the
8 ## options suitable for INN's coding style and typedefs. These options
9 ## are also documented in HACKING. Assumes indent is on the user's path.
11 ## The order of options matches the order in which they're described in
12 ## the GNU indent info manual. In order, each line sets options for:
13 ## blank lines, comments, statements, declarations, indentation, breaking
14 ## long lines, and typedefs used by INN.
16 ## Note that the resulting output should not be used without manual review,
17 ## nor should this script be run automatically. indent still has a few
18 ## bugs, tends to mangle case statements written compactly, and varies from
19 ## the prevailing INN style in a few ways that can't be changed.
23 -fca -lc78 -cd32 -cp1 \
24 -br -ce -cdw -cli0 -ss -npcs -cs \
26 -i4 -ci4 -lp -ts8 -nut -ip5 -lps \
28 -T off_t -T size_t -T uint32_t -T time_t -T FILE \