summaryrefslogtreecommitdiffstats
path: root/common/env.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-10-07 14:27:24 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2007-10-07 14:27:24 +0200
commit2443c7a6f12bc330fcf88949786703d358f2f771 (patch)
tree97ebe4f57b46ae8414dd0fe170582c019aa0edff /common/env.c
parentabb402d0083df191958638f0e5dd1a506b2ac2f8 (diff)
downloadbarebox-2443c7a6f12bc330fcf88949786703d358f2f771.tar.gz
export symbols
Diffstat (limited to 'common/env.c')
-rw-r--r--common/env.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/env.c b/common/env.c
index 18a0d32..62134bd 100644
--- a/common/env.c
+++ b/common/env.c
@@ -143,6 +143,7 @@ const char *getenv (const char *name)
}
return NULL;
}
+EXPORT_SYMBOL(getenv);
static int setenv_raw(struct variable_d *var, const char *name, const char *value)
{
@@ -205,6 +206,7 @@ int setenv(const char *name, const char *value)
return 0;
}
+EXPORT_SYMBOL(setenv);
int export(const char *varname)
{
@@ -217,6 +219,7 @@ int export(const char *varname)
}
return -1;
}
+EXPORT_SYMBOL(export);
static int do_printenv (cmd_tbl_t *cmdtp, int argc, char *argv[])
{