aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorStrake <strake888@gmail.com>2013-08-17 02:54:58 -0500
committerStrake <strake888@gmail.com>2013-08-17 02:54:58 -0500
commit59bf7ce6a5114ed228cf3bf847ff96a35aa86f54 (patch)
tree4b903bd568ab858e5e0fb9d84be3bbd80de33dd9 /toys.h
parent9b504b4afe16636b31b0e52dea69e7478d6fb780 (diff)
downloadtoybox-59bf7ce6a5114ed228cf3bf847ff96a35aa86f54.tar.gz
su: cleanery
* make help message more like others * s/TT\.(.)Argu/TT.\1/g * move environ to toys.h * simplify failure messages * clear password before quit * not check what execve returns * -lc
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toys.h b/toys.h
index 2ce1d0ad..c810123a 100644
--- a/toys.h
+++ b/toys.h
@@ -117,6 +117,8 @@ extern struct toy_context {
extern char toybuf[4096];
+extern char **environ;
+
#define GLOBALS(...)
#define ARRAY_LEN(array) (sizeof(array)/sizeof(*array))