Date: Fri, 27 Mar 2020 19:08:11 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r359375 - stable/12/share/man/man9 Message-ID: <202003271908.02RJ8BYu034987@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003271908.02RJ8BYu034987>