diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-08-12 20:53:10 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-12 21:27:53 +0000 |
commit | 04d894e7cc579544bd0e940a210b177f135d16ba (patch) | |
tree | efab9969864aeff8ac708d1d5af25dd3360e8ec8 /.travis/cmake-freebsd-env.sh | |
parent | 6d8d80b38726992330e776360d79b0d247570da3 (diff) |
Fix style in msi.c.
* Don't use anonymous enums (`typedef enum { ... } Name;`).
* Don't use macros to generate structs (too magical, hard to grep).
* Assign output parameter once, and don't access it a lot in the
function body.
* Don't pass type names as parameters to macros (this is C, we don't have
templates, sorry).
* All function-like macros must be do-while(0).
* `++i` instead of `i++`.
* No assignment-expressions.
* No void-casts.
Diffstat (limited to '.travis/cmake-freebsd-env.sh')
0 files changed, 0 insertions, 0 deletions