Code

screen_keydef: get rid of the BUFSIZE constant
[ncmpc.git] / src / command.h
index 3a7d61d9d6322c2d13eea2bb84dc17eb959bf5c8..225d76e5fb4bfa5e4a7c00a9ea26eaf6a89d4083 100644 (file)
@@ -23,6 +23,7 @@
 #include "config.h"
 
 #include <stddef.h>
+#include <stdbool.h>
 
 #ifndef NCMPC_MINI
 #include <stdio.h>
@@ -142,7 +143,7 @@ int write_key_bindings(FILE *f, int all);
 const char *key2str(int key);
 const char *get_key_description(command_t command);
 const char *get_key_command_name(command_t command);
-const char *get_key_names(command_t command, int all);
+const char *get_key_names(command_t command, bool all);
 command_t get_key_command(int key);
 command_t get_key_command_from_name(char *name);
 int assign_keys(command_t command, int keys[MAX_COMMAND_KEYS]);