Add info about c99 designationed initializers.

Differential Revision: https://reviews.freebsd.org/D13975
This commit is contained in:
Warner Losh 2018-01-25 15:42:21 +00:00
parent 5557762b72
commit 88c53cfda1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328400

View file

@ -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;