aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal_common.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_common.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_common.h')
-rw-r--r--env_universal_common.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/env_universal_common.h b/env_universal_common.h
index 4625725f..21fcd8eb 100644
--- a/env_universal_common.h
+++ b/env_universal_common.h
@@ -140,11 +140,6 @@ message_t *create_message(fish_message_type_t type, const wchar_t *key, const wc
void env_universal_common_init(void (*cb)(fish_message_type_t type, const wchar_t *key, const wchar_t *val));
/**
- Destroy library data
-*/
-void env_universal_common_destroy();
-
-/**
Add all variable names to the specified list
This function operate agains the local copy of all universal
@@ -182,7 +177,7 @@ void env_universal_common_remove(const wcstring &key);
This function operate agains the local copy of all universal
variables, it does not communicate with any other process.
*/
-wchar_t *env_universal_common_get(const wcstring &name);
+const wchar_t *env_universal_common_get(const wcstring &name);
/**
Get the export flag of the variable with the specified