diff options
author | Max Kellermann <max@duempel.org> | 2008-11-07 08:30:18 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-07 08:30:18 +0100 |
commit | 25a07c795fdf275b85ccc3b6634f645a0eb1127e (patch) | |
tree | f1bc53d8ddf4255e0733258d4f54a2778d8948f4 /src/command.h | |
parent | c7a5ac5c3656074b78d826479959cb7425efadcd (diff) | |
download | mpd-25a07c795fdf275b85ccc3b6634f645a0eb1127e.tar.gz mpd-25a07c795fdf275b85ccc3b6634f645a0eb1127e.tar.xz mpd-25a07c795fdf275b85ccc3b6634f645a0eb1127e.zip |
options: don't store disabled options
Options which are disabled at compile time shouldn't reserve space for
their values in the options struct.
Diffstat (limited to '')
-rw-r--r-- | src/command.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command.h b/src/command.h index b48bf80f6..55d7a9cd8 100644 --- a/src/command.h +++ b/src/command.h @@ -81,7 +81,10 @@ typedef struct { const char *description; } command_definition_t; +#ifdef ENABLE_KEYDEF_SCREEN command_definition_t *get_command_definitions(void); +#endif + command_t find_key_command(int key, command_definition_t *cmds); void command_dump_keys(void); |