diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-05-28 05:51:50 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-05-28 05:51:50 +0000 |
commit | 2e355e9a8f7b3a5fed3598db3098039943e01e63 (patch) | |
tree | ddeb10b38dbc1cd1b45f57ff7dd85f9e3c9d320c /navit/config_.c | |
parent | cbe0d903c525a0a438dc5d8e5bd30daeea65508b (diff) | |
download | navit-2e355e9a8f7b3a5fed3598db3098039943e01e63.tar.gz |
Add:Core:config_get function to avoid global variable
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3307 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/config_.c')
-rw-r--r-- | navit/config_.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/navit/config_.c b/navit/config_.c index 66b77074f..f54a179b5 100644 --- a/navit/config_.c +++ b/navit/config_.c @@ -29,6 +29,12 @@ struct config { struct callback_list *cbl; } *config; +struct config * +config_get(void) +{ + return config; +} + int config_empty_ok; static int configured; |