tag | a5a7eef9764d672fdd2652ca44069f6a9d1b9dfe | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Apr 01 09:40:01 2019 -0700 |
object | 4277b735fd59de46ac74b55eba14a3184c3abd4a |
Android O MR1 IOT Release Smart Display r8 (OIM6.190107.025)
tag | 4277b735fd59de46ac74b55eba14a3184c3abd4a | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Sun Dec 16 00:27:12 2018 -0800 |
object | 27748e24c1a1fbfb2919817333b6270ace62c16c |
Android O MR1 IOT Release Smart Display r5 (OIM4.181017.001.A7)
commit | 27748e24c1a1fbfb2919817333b6270ace62c16c | [log] [tgz] |
---|---|---|
author | Nick Bray <ncbray@google.com> | Wed Oct 31 10:39:41 2018 -0700 |
committer | Nick Bray <ncbray@google.com> | Wed Oct 31 10:39:41 2018 -0700 |
tree | e78593bde7eedd8f39dce50eba8cb3fd4a8fbb47 | |
parent | 35df5144c069aae2e958af0531bc137d79034d35 [diff] |
Replace htonl with htobe32. htonl is supposed to be defined in arpa/inet.h, not endian.h. This code compiles thanks to non-standard endian.h. Being stricter helps make it more portable. It would be possible to switch header files instead of switching functions, but htobe64 is used elsewhere in the code. There is no "network" function for 64-bit types. It seems slightly cleaner to be consistent naming things "big endian" rather than mixing terms. Bug: 110161494 Change-Id: I9b66b967c587d7c0853631d1fbb12e2e41c7d1b2