mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Per the CSRG's type.h, 'typedef' has a <tab> after it.
Also add two simpler examples of typedefs to show their formatting.
This commit is contained in:
parent
319097faa5
commit
b4ea18e338
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87569
@ -232,9 +232,11 @@ Avoid typedefs ending in
|
||||
except as specified in Standard C or by \*[Px].
|
||||
.Bd -literal
|
||||
/* Make the structure name match the typedef. */
|
||||
typedef struct bar {
|
||||
typedef struct bar {
|
||||
int level;
|
||||
} BAR;
|
||||
typedef int foo; /* This is foo. */
|
||||
typedef const long baz; /* This is baz. */
|
||||
.Ed
|
||||
.Pp
|
||||
All functions are prototyped somewhere.
|
||||
|
Loading…
Reference in New Issue
Block a user