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

Commit 58e06c5f authored by Ian Elliott's avatar Ian Elliott
Browse files

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