summaryrefslogtreecommitdiff
path: root/libbb/setup_environment.c
diff options
context:
space:
mode:
authorRob Landley2005-05-01 00:22:03 +0000
committerRob Landley2005-05-01 00:22:03 +0000
commit8445a9ff99f04cad8845a1aed6ab17737f2d985a (patch)
treef31c09bf14817ee84ae6fbc247f0c62152fff7e7 /libbb/setup_environment.c
parent6624daeb4d040a39ad7d6b66ff11339c710d0f3d (diff)
downloadbusybox-8445a9ff99f04cad8845a1aed6ab17737f2d985a.zip
busybox-8445a9ff99f04cad8845a1aed6ab17737f2d985a.tar.gz
On Tuesday 19 April 2005 21:10, Tito wrote and today added:
> Hi, > this is a first attempt of size optimization for zcip taking into account all > the hints given so far on the list. > I've applied just the more obvious busyboxifications so maybe it could be > optimized more. BTW: I've ripped out a lot of debug code and changed c++ // comments to /* */ as both were rather confusing for a newbie like me. ;-) Sorry to the author for that. I know that this makes mantaining the code easier, but I'm simple minded....
Diffstat (limited to 'libbb/setup_environment.c')
-rw-r--r--libbb/setup_environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/setup_environment.c b/libbb/setup_environment.c
index aeb285a..046ecea 100644
--- a/libbb/setup_environment.c
+++ b/libbb/setup_environment.c
@@ -42,7 +42,7 @@
#define DEFAULT_LOGIN_PATH "/bin:/usr/bin"
#define DEFAULT_ROOT_LOGIN_PATH "/usr/sbin:/bin:/usr/bin:/sbin"
-static void xsetenv ( const char *key, const char *value )
+void xsetenv ( const char *key, const char *value )
{
if ( setenv ( key, value, 1 ))
bb_error_msg_and_die (bb_msg_memory_exhausted);