diff --git a/src/match.h b/src/match.h
index 5948ead19c2c519aa26b36dc3275029a71e7962a..e1a6258bf22a86d7eb4275c8a28343be473e626a 100644 (file)
--- a/src/match.h
+++ b/src/match.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
#define MATCH_H
#include "config.h"
+#include "Compiler.h"
#include <stdbool.h>
GRegex *
compile_regex(const char *src, bool anchor);
+gcc_pure
bool
match_regex(GRegex *regex, const char *line);
* Checks whether the specified line matches the search string. Case
* is ignored.
*/
+gcc_pure
bool
match_line(const char *line, const char *needle);