aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-03 14:25:45 +0200
committerMax Kellermann <max@duempel.org>2008-10-03 14:25:45 +0200
commit7e81521772240ec3567a1773d2919a3e90d104c7 (patch)
tree9f6346e662afe4617567a5904e28a832a87e7aef /src/main.c
parent88af2c3ace0fa42dbb816cc9fe8c4b54ce89233a (diff)
downloadmpd-7e81521772240ec3567a1773d2919a3e90d104c7.tar.gz
mpd-7e81521772240ec3567a1773d2919a3e90d104c7.tar.xz
mpd-7e81521772240ec3567a1773d2919a3e90d104c7.zip
options: don't pass the "options" pointer around
Just make everybody use the global "options" variable. This eliminates namespace confusion and the NO_GLOBAL_OPTIONS hack.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e701712fd..3a6243c37 100644
--- a/src/main.c
+++ b/src/main.c
@@ -352,7 +352,7 @@ main(int argc, const char *argv[])
options_parse(argc, argv);
/* read configuration */
- read_configuration(&options);
+ read_configuration();
/* check key bindings */
check_key_bindings(NULL, NULL, 0);