Fixed warning.

This commit is contained in:
default 2023-04-23 08:59:14 +02:00
parent 4fca7c8a7e
commit 043cd5c50b
2 changed files with 2 additions and 2 deletions

2
data.c
View file

@ -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 */ /* we're not following this actor any longer */
{ {
xs *fn = _following_fn(snac, actor); xs *fn = _following_fn(snac, actor);

2
snac.h
View file

@ -113,7 +113,7 @@ xs_list *timeline_top_level(snac *snac, xs_list *list);
d_char *local_list(snac *snac, int max); d_char *local_list(snac *snac, int max);
int following_add(snac *snac, const char *actor, const xs_dict *msg); 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_check(snac *snac, const char *actor);
int following_get(snac *snac, const char *actor, d_char **data); int following_get(snac *snac, const char *actor, d_char **data);
d_char *following_list(snac *snac); d_char *following_list(snac *snac);