diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -971,12 +971,12 @@ init_vars() register_deferred_variable("ENVIRON", load_environ); } -/* load_environ --- populate the ENVIRON array */ +/* path_environ --- put path variable into environment if not already there */ static void path_environ(const char *pname, const char *dflt) { - char *val; + const char *val; NODE **aptr; NODE *tmp; @@ -996,6 +996,8 @@ path_environ(const char *pname, const char *dflt) unref(tmp); } +/* load_environ --- populate the ENVIRON array */ + static NODE * load_environ() { |