From 36b8143c224b47f743d8881514bb348b9ee1d102 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Mon, 2 Nov 2015 10:02:08 +0000 Subject: Add missing noreturn attribute to various functions Signed-off-by: Thomas Wood --- tests/testdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testdisplay.c') diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 4efcb593..28875b2d 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -552,7 +552,7 @@ static void __attribute__((noreturn)) usage(char *name, char opt) #define dump_resource(res) if (res) dump_##res() -static void cleanup_and_exit(int ret) +static void __attribute__((noreturn)) cleanup_and_exit(int ret) { close(drm_fd); exit(ret); -- cgit v1.2.3