Use void instead of no parameters in 2 function declarations.

In compiling some code with a picky "Android.mk" file, it is not happy
with a function declaration that looks like:

    void foo();

It requires:

    void foo(void);

This commit changes that for 2 functions in "log.h".

Test: Build both Android and the code with a picky "Android.mk".
Change-Id: Icd624df34db57e642fe6b1c7da77be9b05936936
This commit is contained in:
Ian Elliott 2017-07-07 16:11:32 -06:00
parent eb42bb8c8b
commit 58e06c5f94
1 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ typedef enum {
#endif
#if __ANDROID_USE_LIBLOG_CLOCK_INTERFACE
clockid_t android_log_clockid();
clockid_t android_log_clockid(void);
#endif
#endif /* __linux__ */
@ -185,7 +185,7 @@ clockid_t android_log_clockid();
* May be used to clean up File descriptors after a Fork, the resources are
* all O_CLOEXEC so wil self clean on exec().
*/
void __android_log_close();
void __android_log_close(void);
#endif
#ifndef __ANDROID_USE_LIBLOG_RATELIMIT_INTERFACE