summaryrefslogtreecommitdiffstats
path: root/src/resources/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map.h')
-rw-r--r--src/resources/map.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/map.h b/src/resources/map.h
index 73f004e..0d6b21e 100644
--- a/src/resources/map.h
+++ b/src/resources/map.h
@@ -112,8 +112,10 @@ struct map {
struct map *map_get(const char *path);
void map_free(struct map *map);
void map_add_tileset(struct map *m, struct tileset *t, Uint32 firstgid);
-struct map_palette *map_get_palette(struct map *m, const char *name);
-struct layer *map_get_layer(struct map *m, const char *name);
+struct map_palette *map_get_palette(struct map *m, const char *name)
+ __attribute__((__pure__));
+struct layer *map_get_layer(struct map *m, const char *name)
+ __attribute__((__pure__));
void map_add_exit(struct map *m, struct map_exit *e);
#endif