aboutsummaryrefslogtreecommitdiff
path: root/qemu-img.c
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-01 22:19:27 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-01 22:19:27 +0000
commita5e50b263a54a41239a90930c1a27ecb76531e1b (patch)
tree5d9ebfb07c088686e1d6ce13941da947e44d8b76 /qemu-img.c
parent173a543b36d0b2491438cf1dcc2c7bb34d59bb5c (diff)
Replace noreturn with QEMU_NORETURN
Thanks to Robert Riebisch for analysis [1] [1] http://marc.info/?l=qemu-devel&m=123352293319271&w=2 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6492 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-img.c')
-rw-r--r--qemu-img.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-img.c b/qemu-img.c
index 6b852fb1d1..0bcbada564 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -34,7 +34,7 @@
/* Default to cache=writeback as data integrity is not important for qemu-tcg. */
#define BRDV_O_FLAGS BDRV_O_CACHE_WB
-static void noreturn error(const char *fmt, ...)
+static void QEMU_NORETURN error(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);