summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent/indent.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-02-09 15:27:02 +0000
committerbde <bde@FreeBSD.org>2004-02-09 15:27:02 +0000
commit3239d7f6ae36b059e9a19a2e5d8854be31296917 (patch)
treefb3b7e9c82d5f19873df42bc21d4df00195663a5 /usr.bin/indent/indent.c
parent7d2a30ec45c5332e217c7c4c3602909138da8206 (diff)
downloadFreeBSD-src-3239d7f6ae36b059e9a19a2e5d8854be31296917.zip
FreeBSD-src-3239d7f6ae36b059e9a19a2e5d8854be31296917.tar.gz
Fixed misformatting of "struct foo *bar" in function parameter lists. It
was mangled to "struct foo * bar". There should be an option to control this, but no space is normal. This finishes fixing the bugs in rev.1.4. indent(1) still doesn't really understand types in parameter lists. It thinks keywords inside parentheses are for casts or sizeofs. This works accidentally for scalar types and this quick fix makes it work similarly but not so accidentally for struct/union/enum types.
Diffstat (limited to 'usr.bin/indent/indent.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud