diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-12 19:00:48 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-12 21:22:48 +0100 |
commit | 803d07b2fff95794d8a840728d417e8e1d31264c (patch) | |
tree | 6b699f6ee5177d1a7415d3dbcadca053af277f5b /lib/igt_debugfs.h | |
parent | 096bb851f6bbcd018b3e7dc42930952971c4ea72 (diff) |
lib: make igt_debugfs_open infallible
(Almost) no one cared anyway.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_debugfs.h')
-rw-r--r-- | lib/igt_debugfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |