Code

*: add "pure" attributes
[ncmpc.git] / src / colors.h
index f049df8766d1a7c600002f0ebc9e2972dfdf6ec6..4d8e876d1d24f04e8ec2b93e715c13742dd1e145 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "config.h"
 #include "ncmpc_curses.h"
+#include "Compiler.h"
 
 enum color {
        COLOR_TITLE = 1,
@@ -41,6 +42,7 @@ enum color {
        COLOR_END
 };
 
+gcc_pure
 int colors_str2color(const char *str);
 
 #ifdef ENABLE_COLORS