diff options
author | SeokYeon Hwang <syeon.hwang@samsung.com> | 2014-12-23 22:26:54 +0000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-01-15 10:44:13 +0300 |
commit | 2d8ac5eb7a7e72e0877cca2b3705eebeaf5526e7 (patch) | |
tree | 3633615fc476b7efb858702a30923af483956301 /qemu-coroutine.c | |
parent | 9c6d5c1ade0b681b6f93c3d9d214389355cc563c (diff) |
translate-all: Mark map_exec() with the 'unused' attribute
Mark map_exec() with the 'unused' attribute to avoid '-Wunused-function'
warnings on clang 3.4 or later. This means we don't need to mark it
'inline', which is what we were previously using to suppress the warning
(a trick which only works with gcc, not clang).
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
[PMM: tweaked comment message a little]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qemu-coroutine.c')
0 files changed, 0 insertions, 0 deletions