Merge "Remove obsolete workaround."

This commit is contained in:
Elliott Hughes 2018-11-08 20:09:49 +00:00 committed by Gerrit Code Review
commit bf925b0580
1 changed files with 0 additions and 5 deletions

View File

@ -31,12 +31,7 @@
__BEGIN_DECLS
// Remove this workaround once b/37423073 is fixed.
#if !__has_attribute(alloc_size)
#define __BIONIC_ALLOC_SIZE(...)
#else
#define __BIONIC_ALLOC_SIZE(...) __attribute__((__alloc_size__(__VA_ARGS__)))
#endif
/**
* [malloc(3)](http://man7.org/linux/man-pages/man3/malloc.3.html) allocates