aboutsummaryrefslogtreecommitdiff
path: root/tpm.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-06-01 11:38:08 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-10 12:10:49 -0400
commitc08790f48b2f41ef26d491fd4d460b74c06cefe4 (patch)
treeefd7f9bfb9dfb65f37f3ce6ff67d17ef5dec0035 /tpm.c
parent2261d3939fd40267029e790a9970f0e6c2ecfdea (diff)
downloadqemu-c08790f48b2f41ef26d491fd4d460b74c06cefe4.zip
qemu-c08790f48b2f41ef26d491fd4d460b74c06cefe4.tar.gz
qemu-c08790f48b2f41ef26d491fd4d460b74c06cefe4.tar.bz2
qemu/thread: Mark qemu_thread_exit() with 'noreturn' attribute
After upgrading to Ubuntu 20.04 LTS, GCC 9.3 complains: util/qemu-thread-posix.c: In function ‘qemu_thread_exit’: util/qemu-thread-posix.c:577:6: error: function might be candidate for attribute ‘noreturn’ [-Werror=suggest-attribute=noreturn] 577 | void qemu_thread_exit(void *retval) | ^~~~~~~~~~~~~~~~ Fix by marking the qemu_thread_exit function with QEMU_NORETURN to set the 'noreturn' attribute. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tpm.c')
0 files changed, 0 insertions, 0 deletions