diff --git a/src/match.h b/src/match.h
index 5948ead19c2c519aa26b36dc3275029a71e7962a..d4771ec85e60ad21a195df8143954fa19b54e6cf 100644 (file)
--- a/src/match.h
+++ b/src/match.h
#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);