lib: Allow users of env_set() to specify a default value
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 19 Jul 2013 14:42:20 +0000 (15:42 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Fri, 19 Jul 2013 17:38:47 +0000 (18:38 +0100)
commitaefc5c63e4c60cba18c3941cafed926e23d114cf
tree667bd3be6ff673423b67076be77f58aa35a432cd
parent94444aea6eb731dbf4146ec431fa0d4376da8e2f
lib: Allow users of env_set() to specify a default value

So when the environment value isn't set, one can specify the default
value to return.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
lib/drmtest.c