Author: emaste Date: Fri Mar 27 19:08:10 2020 New Revision: 359375 URL: https://svnweb.freebsd.org/changeset/base/359375
Log: MFC r358314: style.9: update C99 commentary Make style.9 read as a current statement of C99 preferences, rather than a description of ongoing changes to our preferred style. Alsu use the short form "ISO C99" on the 2nd and later instances rather than repeating the unwieldy `ISO/IEC 9899:1999 ("ISO C99")` each time. Modified: stable/12/share/man/man9/style.9 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man9/style.9 ============================================================================== --- stable/12/share/man/man9/style.9 Fri Mar 27 18:25:23 2020 (r359374) +++ stable/12/share/man/man9/style.9 Fri Mar 27 19:08:10 2020 (r359375) @@ -279,11 +279,11 @@ is treated as #endif /* !COMPAT_43 */ .Ed .Pp -The project is slowly moving to use the +The project prefers the use of .St -isoC-99 unsigned integer identifiers of the form .Vt uintXX_t -in preference to the older +rather than the older .Bx Ns -style integer identifiers of the form .Vt u_intXX_t . @@ -295,10 +295,10 @@ Like white-space commits, care should be taken in maki .Vt uintXX_t only commits. .Pp -Similarly, the project is slowly moving to use the -.St -isoC-99 +Similarly, the project prefers the use of +ISO C99 .Vt bool -in preference to the older +rather than the older .Vt int or .Vt boolean_t . @@ -319,8 +319,8 @@ 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 +Likewise, the project prefers +ISO C99 designated initializers when it makes sense to do so. .Pp Enumeration values are all uppercase. _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"