summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-07-14 08:47:20 +0200
committerdefault <nobody@localhost>2023-07-14 08:47:20 +0200
commiteee19168580fdf228b4829da89725d394159fd60 (patch)
tree3fe88b26fedb2cb519d25646c398b78a10540253 /data.c
parent510bd60cdfd976d4493527faeb22a1d4c3328cc6 (diff)
Fixed prototypes.
Diffstat (limited to 'data.c')
-rw-r--r--data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/data.c b/data.c
index 24a0bc8..7463af2 100644
--- a/data.c
+++ b/data.c
@@ -1068,7 +1068,7 @@ void timeline_update_indexes(snac *snac, const char *id)
}
-int timeline_add(snac *snac, char *id, char *o_msg)
+int timeline_add(snac *snac, const char *id, const xs_dict *o_msg)
/* adds a message to the timeline */
{
int ret = object_add(id, o_msg);
@@ -1080,7 +1080,7 @@ int timeline_add(snac *snac, char *id, char *o_msg)
}
-void timeline_admire(snac *snac, char *id, char *admirer, int like)
+void timeline_admire(snac *snac, const char *id, const char *admirer, int like)
/* updates a timeline entry with a new admiration */
{
/* if we are admiring this, add to both timelines */