diff options
author | 2011-12-15 09:51:17 -0800 | |
---|---|---|
committer | 2012-01-05 07:33:45 -0800 | |
commit | e80a4ccd2bac7bf121441e257044f5813e85180f (patch) | |
tree | 795c33992f702be01aac2ffbfb652408168d9b26 /libs/ui/VirtualKeyMap.cpp | |
parent | 7c48707a9d320230452d5937239f28ab0ea2e695 (diff) |
Use the standard CC_LIKELY and CC_UNLIKELY macros
Several source files privately defined macros LIKELY and UNLIKELY in terms
of __builtin_expect. But <cutils/compiler.h> already has CC_LIKELY and
CC_UNLIKELY which are intended for this purpose. So rename the private
uses to use the standard names.
In addition, AudioFlinger was relying on the macro expanding to extra ( ).
Change-Id: I2494e087a0c0cac0ac998335f5e9c8ad02955873
Diffstat (limited to 'libs/ui/VirtualKeyMap.cpp')
0 files changed, 0 insertions, 0 deletions