]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fixed some bugs in macros:
authorbde <bde@FreeBSD.org>
Sat, 15 Nov 2003 03:47:50 +0000 (03:47 +0000)
committerbde <bde@FreeBSD.org>
Sat, 15 Nov 2003 03:47:50 +0000 (03:47 +0000)
commited37af78c03a8c1a4564f1d1e50818876eb0a38f
treef161447814d4283e0ecb3bb712d65f5c1bce9da5
parent854a76a79b0379744455eaa7675624464cbb804f
Fixed some bugs in macros:
- missing parenthesization of some macro args
- point of do-while(0) hack defeated by putting a semicolon after while(0)

Fixed some style bugs in macros:
- not splitting the line when the macro value cannot be lined up in much
  the same macros that didn't parenthesize their args
- braces around a 1-line statement
- do-while(0) hack not indented in the usual way in the same macros that
  defeated its point.
sys/sys/proc.h