diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-23 14:38:17 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-23 14:38:17 +0100 |
commit | 8221fda087e5c445ddda2bf38c09c49c4d27a7fe (patch) | |
tree | b031d30262dc8bf29c8d4dd46b61d8baf92be8fb /lib/igt_aux.h | |
parent | 47575c7710b2cc14f4b96de71540375e0c1d43b4 (diff) |
lib: s/igt_env_set/igt_check_boolean_env_var
So I wasn't really happy with env_set since it's way too close to
setenv(), whic actually _sets_ and environment variable. So use check
instead of set as the verb (well adjective for env_set).
Also sprinkle in some hints that we talk about a boolean setting here.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r-- | lib/igt_aux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_aux.h b/lib/igt_aux.h index eb637128..25a479f2 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -40,7 +40,7 @@ void igt_permute_array(void *array, unsigned size, unsigned i, unsigned j)); void igt_progress(const char *header, uint64_t i, uint64_t total); -bool igt_env_set(const char *env_var, bool default_value); +bool igt_check_boolean_env_var(const char *env_var, bool default_value); bool igt_aub_dump_enabled(void); |