svn commit: r248269 - user/andre/tcp-ao/sys/netinet

Gleb Smirnoff glebius at FreeBSD.org
Fri Mar 15 10:13:27 UTC 2013


On Thu, Mar 14, 2013 at 05:47:13PM +0100, Andre Oppermann wrote:
A> On 14.03.2013 17:29, Gleb Smirnoff wrote:
A> >    Andre,
A> >
A> > On Thu, Mar 14, 2013 at 04:27:02PM +0000, Andre Oppermann wrote:
A> > A> Author: andre
A> > A> Date: Thu Mar 14 16:27:01 2013
A> > A> New Revision: 248269
A> > A> URL: http://svnweb.freebsd.org/changeset/base/248269
A> > A>
A> > A> Log:
A> > A>   Add IPv6 pseudo header for use in checksum calculations.
A> >
A> > Why obsoleted u_intXX_t instead of uintXX_t in new code?
A> 
A> Legacy style of surrounding code.  What's our policy there?  I tend to keep it
A> the same.

Quoting style(9):

     The project is slowly moving to use the ISO/IEC 9899:1999 (``ISO C99'')
     unsigned integer identifiers of the form uintXX_t in preference to the
     older BSD-style integer identifiers of the form u_intXX_t.  New code
     should use the former, and old code should be converted to the new form
     if other major work is being done in that area and there is no overriding
     reason to prefer the older BSD-style.  Like white-space commits, care
     should be taken in making uintXX_t only commits.


-- 
Totus tuus, Glebius.


More information about the svn-src-user mailing list