From 76a8fab4adc293982f355609b89dde88d5f355e0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 Sep 2008 12:27:29 +0200 Subject: 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. --- src/command.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/command.c') 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; -- cgit v1.2.3