OSDN Git Service

Move use of __warnattr to __deprecated.
authorYabin Cui <yabinc@google.com>
Tue, 17 Feb 2015 20:39:39 +0000 (12:39 -0800)
committerYabin Cui <yabinc@google.com>
Tue, 17 Feb 2015 22:14:45 +0000 (14:14 -0800)
commit4645c4f62df49d1ece5aabb7c9fa44ca34d30272
tree49f40a240870fdbd7f481215b82217c95a5b9536
parentfb48c68221afb1f9e7c63a15a20cca0857d1b9f9
Move use of __warnattr to __deprecated.

clang don't support warning attribute. Replacing warning attriubte with
deprecated attribute can achieve the same behavior whether compiled by
gcc or clang.

Bug: 19340053
Change-Id: I064432b81cf55212458edbc749eb72dc15a810fb
libc/include/stdio.h
libc/include/stdlib.h
libc/include/sys/cdefs.h