From c608bcc3dfab2abe7b66c10f8556086b2d45b3a3 Mon Sep 17 00:00:00 2001 From: nirav Date: Sun, 17 Mar 2019 10:17:15 +0530 Subject: Fix load_timeline --- src/timeline.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/timeline.h') diff --git a/src/timeline.h b/src/timeline.h index ea72e5c..296bbe8 100644 --- a/src/timeline.h +++ b/src/timeline.h @@ -10,7 +10,7 @@ struct timeline { struct timeline *timeline_from_json(const char *); void timeline_free(struct timeline *); -int get_timeline(const char *max_id, const char *since_id, const char *min_id, - int limit, void (*callback)(bool success, struct timeline *t)); +struct timeline *get_timeline(const char *max_id, const char *since_id, const char *min_id, + int limit); #endif -- cgit v1.2.3