summaryrefslogtreecommitdiff
path: root/nix/libutil/util.hh
diff options
context:
space:
mode:
Diffstat (limited to 'nix/libutil/util.hh')
-rw-r--r--nix/libutil/util.hh7
1 files changed, 0 insertions, 7 deletions
diff --git a/nix/libutil/util.hh b/nix/libutil/util.hh
index 176247e699d..a07c3be6eb6 100644
--- a/nix/libutil/util.hh
+++ b/nix/libutil/util.hh
@@ -16,13 +16,6 @@
16namespace nix { 16namespace nix {
17 17
18 18
19#define foreach(it_type, it, collection) \
20 for (it_type it = (collection).begin(); it != (collection).end(); ++it)
21
22#define foreach_reverse(it_type, it, collection) \
23 for (it_type it = (collection).rbegin(); it != (collection).rend(); ++it)
24
25
26/* Return an environment variable. */ 19/* Return an environment variable. */
27string getEnv(const string & key, const string & def = ""); 20string getEnv(const string & key, const string & def = "");
28 21