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/gem_madvise.c | |
parent | 3bc3ab27eac6eace4c90c8da92b4e7570110263b (diff) |
Add missing noreturn attribute to various functions
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/gem_madvise.c')
-rw-r--r-- | tests/gem_madvise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_madvise.c b/tests/gem_madvise.c index 093d78ac..36408fe3 100644 --- a/tests/gem_madvise.c +++ b/tests/gem_madvise.c @@ -49,7 +49,7 @@ IGT_TEST_DESCRIPTION("Checks that the kernel reports EFAULT when trying to use" static jmp_buf jmp; -static void sigtrap(int sig) +static void __attribute__((noreturn)) sigtrap(int sig) { longjmp(jmp, sig); } |