diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-08-12 21:53:59 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-12 23:32:59 +0000 |
commit | df9033dcb9d2b5ee8ef521b75abc32cda6498827 (patch) | |
tree | 5a83e9e3cba33b934e27b5f1105d0cafd5f2a6b8 /.travis/bazel-linux | |
parent | f1eee021855c8ab7d21fddbdf3a08a072699e708 (diff) |
Fix coding style in rtp module.
* Named callback types only.
* No anonymous enums or structs.
* `++i` instead of `i++`.
* Don't use enums to specify integer constants. Enums should be
enumerations. All values of an enum type should be listed[1].
[1] I don't know what to do about bit masks yet, but given that enums by
C standard can only go up to 32767 portably and 2^31 in reality, they are
probably not useful for 64 bit bit masks.
Diffstat (limited to '.travis/bazel-linux')
0 files changed, 0 insertions, 0 deletions