[liblog] fix -Wreorder-init-list

Bug: 139945549
Test: mm
Change-Id: I57de1a650d2c85dfb4f8817bbc80eb2296eaf568
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
This commit is contained in:
Nick Desaulniers 2019-10-07 17:31:18 -07:00
parent b7dee5d148
commit 34282df8bb
2 changed files with 3 additions and 3 deletions

View file

@ -67,12 +67,12 @@ struct android_log_transport_read logdLoggerRead = {
.name = "logd",
.available = logdAvailable,
.version = logdVersion,
.close = logdClose,
.read = logdRead,
.poll = logdPoll,
.close = logdClose,
.clear = logdClear,
.getSize = logdGetSize,
.setSize = logdSetSize,
.getSize = logdGetSize,
.getReadableSize = logdGetReadableSize,
.getPrune = logdGetPrune,
.setPrune = logdSetPrune,

View file

@ -40,9 +40,9 @@ struct android_log_transport_read pmsgLoggerRead = {
.name = "pmsg",
.available = pmsgAvailable,
.version = pmsgVersion,
.close = pmsgClose,
.read = pmsgRead,
.poll = NULL,
.close = pmsgClose,
.clear = pmsgClear,
.setSize = NULL,
.getSize = NULL,