summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-12-24 01:07:48 +0100
committerKarel Zak <kzak@redhat.com>2011-01-03 12:28:48 +0100
commit035507c84b53bceb143d0923e65916cbf90979c7 (patch)
treecddd11c53a78f1fd0ba44b9d8515c4e7ca74e0f5 /include
parent354815f919b7fcd78fb3f459b4b70109e8bdc5db (diff)
downloadutil-linux-old-035507c84b53bceb143d0923e65916cbf90979c7.tar.gz
lib: [env] consolidate safe_getenv() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/env.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/env.h b/include/env.h
index d69b4f29..bcd0f7ea 100644
--- a/include/env.h
+++ b/include/env.h
@@ -1,2 +1,8 @@
+#ifndef UTIL_LINUX_ENV_H
+#define UTIL_LINUX_ENV_H
+
extern void sanitize_env (void);
+extern char *safe_getenv(const char *arg);
+
+#endif /* UTIL_LINUX_ENV_H */