From c54b30e106df2a137e3790b9ca55c3bed9886e5a Mon Sep 17 00:00:00 2001 From: Anders Frostad Pedersen Date: Tue, 18 Feb 2020 20:32:02 +0100 Subject: [PATCH] Specify argument types for function prototype __android_log_get_minimum_priority caused build failures when used in combination with strict prototypes compiler flags. Fix this by specifying void argument. Bug: 116329414 Bug: 119867234 Change-Id: Icbb8f66a5e35f02b57d772f5acdb9de8638d252c Test: Manual --- liblog/include/android/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblog/include/android/log.h b/liblog/include/android/log.h index c84ddf7ad..c98455dfa 100644 --- a/liblog/include/android/log.h +++ b/liblog/include/android/log.h @@ -274,7 +274,7 @@ int __android_log_set_minimum_priority(int priority); * Gets the minimum priority that will be logged for this process. If none has been set by a * previous __android_log_set_minimum_priority() call, this returns ANDROID_LOG_DEFAULT. */ -int __android_log_get_minimum_priority(); +int __android_log_get_minimum_priority(void); /** * Sets the default tag if no tag is provided when writing a log message. Defaults to