2 # $Id: ncu-indent,v 1.12 2004/11/23 00:45:48 tom Exp $
5 --blank-lines-after-procedures
7 --continuation-indentation0
8 --continue-at-parentheses
11 --leave-preprocessor-space
12 --no-blank-lines-after-commas
13 --no-blank-lines-after-declarations
14 --no-space-after-function-call-names
15 --procnames-start-lines
16 --space-special-semicolon
17 --swallow-optional-blank-lines
62 -e '/MODULE_ID(/s/)$/);/' \
63 -e 's,\<GCC_NORETURN;,;//GCC_NORETURN;,' \
64 -e 's,\(\<NCURSES_EXPORT_VAR\>\),//\1,' \
68 # ${INDENT_PROG-indent} --version
69 ${INDENT_PROG-indent} -npro $OPTS "$name"
71 -e '/MODULE_ID(/s/);$/)/' \
72 -e 's,;[ ]*//GCC_NORETURN;, GCC_NORETURN;,' \
73 -e 's,//\(\<NCURSES_EXPORT_VAR\>\),\1,' \
77 if test $NOOP = yes ; then
78 if (cmp -s "$name" "$save" ) then
79 echo "** no change: $name"
81 diff -u "$save" "$name"
85 elif ( cmp -s "$name" "$save" ) ; then
86 echo "** unchanged $name"
90 echo "** updated $name"
95 echo "** ignored: $name"