summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent/indent_globs.h
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2010-03-31 17:05:30 +0000
committeravg <avg@FreeBSD.org>2010-03-31 17:05:30 +0000
commit3bd875003c9cfb8544833da3029fc72d93c416b5 (patch)
tree6b289e0d6a757e91653bb35b31533c353c04b566 /usr.bin/indent/indent_globs.h
parent53545c03a72ae4f39a3c7357ae972c7714553462 (diff)
downloadFreeBSD-src-3bd875003c9cfb8544833da3029fc72d93c416b5.zip
FreeBSD-src-3bd875003c9cfb8544833da3029fc72d93c416b5.tar.gz
indent(1): add a new option, -ta, to treat all *_t identifiers as types
Submitted by: Hans Petter Selasky Discussed with: bde MFC after: 10 days
Diffstat (limited to 'usr.bin/indent/indent_globs.h')
-rw-r--r--usr.bin/indent/indent_globs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/indent/indent_globs.h b/usr.bin/indent/indent_globs.h
index 11ea239..087f41c 100644
--- a/usr.bin/indent/indent_globs.h
+++ b/usr.bin/indent/indent_globs.h
@@ -204,6 +204,8 @@ int function_brace_split; /* split function declaration and
* brace onto separate lines */
int use_tabs; /* set true to use tabs for spacing,
* false uses all spaces */
+int auto_typedefs; /* set true to recognize identifiers
+ * ending in "_t" like typedefs */
/* -troff font state information */
OpenPOWER on IntegriCloud