aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/raw-data.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-10 23:27:46 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-10 23:27:46 +0100
commitb69e71479a1196cce8d27388883f9c0afbdf7e3a (patch)
tree5c96c8ce33dff1272a5ed00a8f6b911b71977e4b /src/mds-kbdc/raw-data.c
parentmds-kbdc: more work on the treeification (diff)
downloadmds-b69e71479a1196cce8d27388883f9c0afbdf7e3a.tar.gz
mds-b69e71479a1196cce8d27388883f9c0afbdf7e3a.tar.bz2
mds-b69e71479a1196cce8d27388883f9c0afbdf7e3a.tar.xz
mds-kbdc: more parsing into a tree
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kbdc/raw-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/raw-data.c b/src/mds-kbdc/raw-data.c
index 7c1f5fd..60c3e17 100644
--- a/src/mds-kbdc/raw-data.c
+++ b/src/mds-kbdc/raw-data.c
@@ -145,7 +145,7 @@ static char* read_file(const char* restrict pathname, size_t* restrict size)
* or `size` if the call do not end (that is, the code ends
* prematurely), or zero if there is no function call at `offset`
*/
-static __attribute__((pure)) size_t get_end_of_call(char* restrict content, size_t offset, size_t size)
+size_t get_end_of_call(char* restrict content, size_t offset, size_t size)
{
#define C content[ptr]
#define r(lower, upper) (((lower) <= C) && (C <= (upper)))