aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-23 15:08:27 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-23 15:08:27 +0200
commitebb1dbb3e17386a436af74228f13eb9de6a7b780 (patch)
tree654ea04e329cf012172b03f1359d20c647a71c42 /src
parent570571a2b72bba9c8dbe2b2862533409153b548a (diff)
Add missing static
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/primops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 0892d5d1b..0ec39f553 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -385,7 +385,7 @@ static void prim_getEnv(EvalState & state, const Pos & pos, Value * * args, Valu
/* Evaluate the first argument, then return the second argument. */
-void prim_seq(EvalState & state, const Pos & pos, Value * * args, Value & v)
+static void prim_seq(EvalState & state, const Pos & pos, Value * * args, Value & v)
{
state.forceValue(*args[0]);
state.forceValue(*args[1]);
@@ -395,7 +395,7 @@ void prim_seq(EvalState & state, const Pos & pos, Value * * args, Value & v)
/* Evaluate the first argument deeply (i.e. recursing into lists and
attrsets), then return the second argument. */
-void prim_deepSeq(EvalState & state, const Pos & pos, Value * * args, Value & v)
+static void prim_deepSeq(EvalState & state, const Pos & pos, Value * * args, Value & v)
{
state.forceValueDeep(*args[0]);
state.forceValue(*args[1]);