diff options
author | Thomas Wood <thomas.wood@intel.com> | 2015-11-02 10:02:08 +0000 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-11-11 14:20:55 +0000 |
commit | 36b8143c224b47f743d8881514bb348b9ee1d102 (patch) | |
tree | 40ec1c934e6dbbaaec0f417bfb44762ac844570e /tests/testdisplay.c | |
parent | 3bc3ab27eac6eace4c90c8da92b4e7570110263b (diff) |
Add missing noreturn attribute to various functions
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r-- | tests/testdisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |