author | Chih-Hung Hsieh <chh@google.com> | |
Wed, 25 Jul 2018 19:15:25 +0000 (12:15 -0700) | ||
committer | Chih-Hung Hsieh <chh@google.com> | |
Wed, 25 Jul 2018 21:36:35 +0000 (14:36 -0700) | ||
commit | 62b0ef556d778a5734ce84d1da6e7ca8cf8f9362 | |
tree | a96112f8fee69a776bc9165ca1b3a4450aa00532 | tree | snapshot (tar.xz tar.gz zip) |
parent | 56795ac483e09678b4c92b7cc213c1c68f8718f7 | commit | diff |
Declare __fake_use_va_args as a variadic function.
* New clang compiler requires variadic function to have
at least one named parameter type.
* Use ##__VA_ARGS__ to work with empty __VA_ARGS__.
* Fix one ALOG_ASSERT parameter bug in lmkd/lmkd.c.
Bug: 111614304
Test: make with WITH_TIDY=1
Change-Id: I90f35aa88527a6897954f69a35b256a157a725c5
* New clang compiler requires variadic function to have
at least one named parameter type.
* Use ##__VA_ARGS__ to work with empty __VA_ARGS__.
* Fix one ALOG_ASSERT parameter bug in lmkd/lmkd.c.
Bug: 111614304
Test: make with WITH_TIDY=1
Change-Id: I90f35aa88527a6897954f69a35b256a157a725c5
liblog/include/log/log_main.h | diff | blob | history | |
lmkd/lmkd.c | diff | blob | history |