commit | 66587dc03d6ef268fcd81ea267f3fc015ad325bd | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Mar 19 17:13:52 2020 -0700 |
committer | Josh Gao <jmgao@google.com> | Mon Mar 23 17:36:06 2020 -0700 |
tree | eadb7ef5db51b93dfcbfd646b0f5229e6248ded7 | |
parent | b48aebc22cc821451682a8f84ae1536d4cb6f153 [diff] |
adb: extract syncmsg structs. Make it so that we can get the sizeof a member of syncmsg without having an instance of syncmsg or doing something awful along the lines of sizeof(reinterpret_cast<syncmsg*>(nullptr)->status). Bug: http://b/150827486 Test: m adb adbd Change-Id: I4830e7f90033c7706ff52cdd8d13e9cf40c73628 (cherry picked from commit eddae9292860d053988f791ae1a1498e38d5edee)