From 803d07b2fff95794d8a840728d417e8e1d31264c Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Wed, 12 Mar 2014 19:00:48 +0100 Subject: lib: make igt_debugfs_open infallible (Almost) no one cared anyway. Signed-off-by: Daniel Vetter --- lib/igt_debugfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/igt_debugfs.h') diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h index 43fa0fc5..5f940cb2 100644 --- a/lib/igt_debugfs.h +++ b/lib/igt_debugfs.h @@ -36,7 +36,7 @@ typedef struct { char dri_path[128]; } igt_debugfs_t; -int igt_debugfs_init(igt_debugfs_t *debugfs); +void igt_debugfs_init(igt_debugfs_t *debugfs); int igt_debugfs_open(igt_debugfs_t *debugfs, const char *filename, int mode); FILE *igt_debugfs_fopen(igt_debugfs_t *debugfs, const char *filename, const char *mode); -- cgit v1.2.3