From 2dd031d57ce69a32ccf613b947d8cfd035663d4a Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 15 Jul 2018 11:16:18 +0200 Subject: [PATCH] ao_write: Silence sparse warning. ao_write.c:336:58: warning: incorrect type in argument 3 (different modifiers) ao_write.c:336:58: expected void *( *__start_routine )( ... ) ao_write.c:336:58: got void [noreturn] *( * )( ... ) gcc versions 5, 6 and 7 all seem to be happy without the __noreturn as well, so let's lose it. --- ao_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ao_write.c b/ao_write.c index 4258803f..e2858b91 100644 --- a/ao_write.c +++ b/ao_write.c @@ -244,7 +244,7 @@ fail: return ret; } -__noreturn static void *aow_play(void *priv) +static void *aow_play(void *priv) { struct writer_node *wn = priv; struct private_aow_data *pawd = wn->private_data; -- 2.39.5