aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-11 23:16:50 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-11 23:16:50 -0800
commit2a7fc9c3a507de45e1aa723068fb373567b869a1 (patch)
tree638983462e567356b3dbfd227a79adb48d6cc41b /env_universal.h
parentbe23c0755e898ee3709c4635885342a9c1f77061 (diff)
Clean up env_var_table_t. Switch from storing var_uni_entry_t* to var_uni_entry_t. Various other cleanups.
Diffstat (limited to 'env_universal.h')
-rw-r--r--env_universal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/env_universal.h b/env_universal.h
index 3637ba67..4f38fe79 100644
--- a/env_universal.h
+++ b/env_universal.h
@@ -29,7 +29,7 @@ void env_universal_destroy();
/**
Get the value of a universal variable
*/
-wchar_t *env_universal_get(const wcstring &name);
+const wchar_t *env_universal_get(const wcstring &name);
/**
Get the export flag of the variable with the specified
@@ -60,9 +60,9 @@ int env_universal_read_all();
\param show_exported whether exported variables should be shown
\param show_unexported whether unexported variables should be shown
*/
-void env_universal_get_names2(wcstring_list_t &list,
- bool show_exported,
- bool show_unexported);
+void env_universal_get_names(wcstring_list_t &list,
+ bool show_exported,
+ bool show_unexported);
/**
Synchronize with fishd