aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
commit76a8fab4adc293982f355609b89dde88d5f355e0 (patch)
treeb8fe58ce54cade4122402c57328a9691064b2590 /src/command.c
parent0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1 (diff)
downloadmpd-76a8fab4adc293982f355609b89dde88d5f355e0.tar.gz
mpd-76a8fab4adc293982f355609b89dde88d5f355e0.tar.xz
mpd-76a8fab4adc293982f355609b89dde88d5f355e0.zip
fix function prototypes
Add missing prototypes, and fix wrong prototypes. Convert lots of functions to "static" when they are only used within the current source file.
Diffstat (limited to '')
-rw-r--r--src/command.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/command.c b/src/command.c
index 4f4a8e938..733bf6a31 100644
--- a/src/command.c
+++ b/src/command.c
@@ -30,6 +30,8 @@
#include "config.h"
#include "ncmpc.h"
#include "command.h"
+#include "mpdclient.h"
+#include "screen.h"
#undef DEBUG_KEYS
@@ -39,9 +41,6 @@
#define DK(x)
#endif
-extern void sigstop(void);
-extern void screen_resize(void);
-
#define BS KEY_BACKSPACE
#define DEL KEY_DC
#define UP KEY_UP
@@ -289,7 +288,7 @@ command_dump_keys(void)
}
}
-int
+static int
set_key_flags(command_definition_t *cp, command_t command, int flags)
{
int i;