Merge "Don't use bare noreturn in log.h."

am: fe05f1cde4

Change-Id: I5e1fa172496d2b5c038df9e1f66a7ac3734ed3bc
This commit is contained in:
Elliott Hughes 2017-01-04 00:42:00 +00:00 committed by android-build-merger
commit 3f789b70ea

View file

@ -98,7 +98,7 @@ int __android_log_write(int prio, const char *tag, const char *text);
*/
int __android_log_print(int prio, const char *tag, const char *fmt, ...)
#if defined(__GNUC__)
__attribute__ ((format(printf, 3, 4)))
__attribute__((__format__(printf, 3, 4)))
#endif
;
@ -116,8 +116,8 @@ int __android_log_vprint(int prio, const char *tag,
void __android_log_assert(const char *cond, const char *tag,
const char *fmt, ...)
#if defined(__GNUC__)
__attribute__ ((noreturn))
__attribute__ ((format(printf, 3, 4)))
__attribute__((__noreturn__))
__attribute__((__format__(printf, 3, 4)))
#endif
;