Apparently mips and x86's va_list is a pointer type.
And clang won't let you have a function declaration where some arguments have nullability specifiers and others don't. Change-Id: I450b0221a3f7f068d5fe971dfbc0ba91d25710e8
This commit is contained in:
parent
3b4e11faa8
commit
8ed118db61
1 changed files with 4 additions and 0 deletions
|
@ -81,7 +81,11 @@ __noreturn void __fortify_fatal(const char* _Nonnull, ...) __printflike(1, 2);
|
|||
int __libc_format_buffer(char* _Nonnull buf, size_t size, const char* _Nonnull fmt, ...) __printflike(3, 4);
|
||||
int __libc_format_fd(int fd, const char* _Nonnull format , ...) __printflike(2, 3);
|
||||
int __libc_format_log(int pri, const char* _Nonnull tag, const char* _Nonnull fmt, ...) __printflike(3, 4);
|
||||
#if defined(__arm__) || defined(__aarch64__)
|
||||
int __libc_format_log_va_list(int pri, const char* _Nonnull tag, const char* _Nonnull fmt, va_list ap);
|
||||
#else
|
||||
int __libc_format_log_va_list(int pri, const char* _Nonnull tag, const char* _Nonnull fmt, va_list _Nonnull ap);
|
||||
#endif
|
||||
int __libc_write_log(int pri, const char* _Nonnull tag, const char* _Nonnull msg);
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Reference in a new issue