Code

xterm_title: simplify if/else chains
[ncmpc.git] / src / colors.h
index f049df8766d1a7c600002f0ebc9e2972dfdf6ec6..1ccf50d2f9ca1b210256aa0fa8a868b691d380e6 100644 (file)
@@ -1,5 +1,5 @@
 /* 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,
@@ -41,6 +43,7 @@ enum color {
        COLOR_END
 };
 
+gcc_pure
 int colors_str2color(const char *str);
 
 #ifdef ENABLE_COLORS