summaryrefslogtreecommitdiffstats
path: root/include/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/environment.h')
-rw-r--r--include/environment.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/environment.h b/include/environment.h
index fd7735ae74..4184977009 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -61,6 +61,12 @@ static inline unsigned long long getenv_ull(const char *name)
{
return 0;
}
+
+static inline int export(const char *var)
+{
+ return -EINVAL;
+}
+
#endif
int env_pop_context(void);