aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.c
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2008-01-14 02:47:47 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2008-01-14 02:47:47 +1000
commit87db9517e928c9007c66ed5b23836db2dad2b693 (patch)
treeedfe373687a5afb9ba5360a456e3096d7bf2df85 /env.c
parentab3502fc8b25469429af25a94306346af590428c (diff)
Add lots of new code comments.
darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz
Diffstat (limited to 'env.c')
-rw-r--r--env.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/env.c b/env.c
index 16b6c003..c0f1215b 100644
--- a/env.c
+++ b/env.c
@@ -480,6 +480,9 @@ static void setup_path()
al_destroy( &l );
}
+/**
+ Set up default values for various variables if not defined.
+ */
static void env_set_defaults()
{
@@ -1442,6 +1445,9 @@ static void export_func1( void *k, void *v, void *aux )
}
+/**
+ Get list of all exported variables
+ */
static void get_exported( env_node_t *n, hash_table_t *h )
{
if( !n )