summaryrefslogtreecommitdiff
path: root/lib/drmtest.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-31 17:16:33 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-01 21:10:59 +0100
commit223a61e12e119d96484ed05c563d1781fd613a4e (patch)
tree5932dca87d2165b363dab524f66002979024996a /lib/drmtest.h
parent1f0cf2df85ca3f9d900b21db9c8744a99e8f60a0 (diff)
lib: make igt_install_exit_handler never fail
Most callers didn't bother checking, so just move the asserts into the function itself. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r--lib/drmtest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h
index 6e8b16b5..be0632f4 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -389,7 +389,7 @@ uint32_t drm_format_to_bpp(uint32_t drm_format);
typedef void (*igt_exit_handler_t)(int sig);
/* reliable atexit helpers, also work when killed by a signal (if possible) */
-int igt_install_exit_handler(igt_exit_handler_t fn);
+void igt_install_exit_handler(igt_exit_handler_t fn);
void igt_enable_exit_handler(void);
void igt_disable_exit_handler(void);