mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Add info about c99 designationed initializers.
Differential Revision: https://reviews.freebsd.org/D13975
This commit is contained in:
parent
5557762b72
commit
88c53cfda1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328400
|
@ -324,6 +324,10 @@ Userspace code should include
|
|||
while kernel code should include
|
||||
.In sys/types.h .
|
||||
.Pp
|
||||
Likewise, the project is moving to using the
|
||||
.St -isoC-99
|
||||
designated initializers when it makes sense to do so.
|
||||
.Pp
|
||||
Enumeration values are all uppercase.
|
||||
.Bd -literal
|
||||
enum enumtype { ONE, TWO } et;
|
||||
|
|
Loading…
Reference in a new issue