summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-23 08:59:14 +0200
committerdefault <nobody@localhost>2023-04-23 08:59:14 +0200
commit043cd5c50bf9b3029f240b816b222facefbce548 (patch)
treeece94c06393e3230212d2feabce0db9c2d6a0082
parent4fca7c8a7ea2ee1373827c1e4d3726c8e763e2cc (diff)
Fixed warning.
-rw-r--r--data.c2
-rw-r--r--snac.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/data.c b/data.c
index 73244a5..5c71c8e 100644
--- a/data.c
+++ b/data.c
@@ -1103,7 +1103,7 @@ int following_add(snac *snac, const char *actor, const xs_dict *msg)
}
-int following_del(snac *snac, char *actor)
+int following_del(snac *snac, const char *actor)
/* we're not following this actor any longer */
{
xs *fn = _following_fn(snac, actor);
diff --git a/snac.h b/snac.h
index 224dec2..d38494b 100644
--- a/snac.h
+++ b/snac.h
@@ -113,7 +113,7 @@ xs_list *timeline_top_level(snac *snac, xs_list *list);
d_char *local_list(snac *snac, int max);
int following_add(snac *snac, const char *actor, const xs_dict *msg);
-int following_del(snac *snac, char *actor);
+int following_del(snac *snac, const char *actor);
int following_check(snac *snac, const char *actor);
int following_get(snac *snac, const char *actor, d_char **data);
d_char *following_list(snac *snac);