diff --git a/src/colors.h b/src/colors.h
index f049df8766d1a7c600002f0ebc9e2972dfdf6ec6..c166c363be4378e7c774eff76cc099a1b50a78a0 100644 (file)
--- a/src/colors.h
+++ b/src/colors.h
/* ncmpc (Ncurses MPD Client)
- * (c) 2004-2010 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
* Project homepage: http://musicpd.org
*
* This program is free software; you can redistribute it and/or modify
#include "config.h"
#include "ncmpc_curses.h"
+#include "Compiler.h"
enum color {
COLOR_TITLE = 1,
COLOR_TITLE_BOLD,
COLOR_LINE,
COLOR_LINE_BOLD,
+ COLOR_LINE_FLAGS,
COLOR_LIST,
COLOR_LIST_BOLD,
COLOR_PROGRESSBAR,
COLOR_END
};
+gcc_pure
int colors_str2color(const char *str);
#ifdef ENABLE_COLORS
int colors_assign(const char *name, const char *value);
int colors_define(const char *name, short r, short g, short b);
-int colors_start(void);
+
+void
+colors_start(void);
#endif
-int colors_use(WINDOW *w, enum color id);
+void
+colors_use(WINDOW *w, enum color id);
#endif /* COLORS_H */