commit | 65396f473431c9b8a9c2101d649f4ce16a6a4eff | [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 | baaf2a44fb48dd07a50e29eaadd596e9777bf6bd [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)