Commit bfa1e271 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Declare source_match to be a pure function.

parent 09ea0a38
...@@ -33,7 +33,8 @@ struct source { ...@@ -33,7 +33,8 @@ struct source {
}; };
int source_match(struct source *src, int source_match(struct source *src,
const unsigned char *p, unsigned char plen); const unsigned char *p, unsigned char plen)
ATTRIBUTE ((pure));
struct source *find_source(const unsigned char *id, struct source *find_source(const unsigned char *id,
const unsigned char *p, const unsigned char *p,
unsigned char plen, unsigned char plen,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment