]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-system-core.git/commit
Declare __fake_use_va_args as a variadic function.
authorChih-Hung Hsieh <chh@google.com>
Wed, 25 Jul 2018 19:15:25 +0000 (12:15 -0700)
committerChih-Hung Hsieh <chh@google.com>
Wed, 25 Jul 2018 21:36:35 +0000 (14:36 -0700)
commit62b0ef556d778a5734ce84d1da6e7ca8cf8f9362
treea96112f8fee69a776bc9165ca1b3a4450aa00532
parent56795ac483e09678b4c92b7cc213c1c68f8718f7
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
liblog/include/log/log_main.h
lmkd/lmkd.c