summaryrefslogtreecommitdiff
path: root/src/libudev/env-util.h
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-04 12:53:32 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-04 12:53:32 -0400
commit6ca44589b07c2a809718c4a630005b999f53d58d (patch)
tree7a67c0c8237f8595d900e690f69cca8851e2dffd /src/libudev/env-util.h
parentfcb3dc92650f0ab01816f258b5e521b5daab29a3 (diff)
src/libudev/strv.{c,h}: bring in line with upstream
In doing so, we better alined util.{c,h} by movig the definitions of freep, fclosep, closep, closedirp, umaskp from util.c to util.h as static inline. We also add strv_env_get to env-util.{c,h} which we forgot to do earlier. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/env-util.h')
-rw-r--r--src/libudev/env-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/env-util.h b/src/libudev/env-util.h
index 61a5332d63..2aa30aeda3 100644
--- a/src/libudev/env-util.h
+++ b/src/libudev/env-util.h
@@ -22,3 +22,4 @@
***/
char *strv_env_get_n(char **l, const char *name, size_t k) _pure_;
+char *strv_env_get(char **x, const char *n) _pure_;