summaryrefslogtreecommitdiff
path: root/decorate.h
diff options
context:
space:
mode:
Diffstat (limited to 'decorate.h')
-rw-r--r--decorate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/decorate.h b/decorate.h
index 1fa4ad9beb..e7328044ff 100644
--- a/decorate.h
+++ b/decorate.h
@@ -2,7 +2,7 @@
#define DECORATE_H
struct object_decoration {
- struct object *base;
+ const struct object *base;
void *decoration;
};
@@ -12,7 +12,7 @@ struct decoration {
struct object_decoration *hash;
};
-extern void *add_decoration(struct decoration *n, struct object *obj, void *decoration);
-extern void *lookup_decoration(struct decoration *n, struct object *obj);
+extern void *add_decoration(struct decoration *n, const struct object *obj, void *decoration);
+extern void *lookup_decoration(struct decoration *n, const struct object *obj);
#endif