Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c54b30e1 authored by Anders Frostad Pedersen's avatar Anders Frostad Pedersen Committed by Anders Pedersen
Browse files

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
parent cf4f56df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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