summaryrefslogtreecommitdiff
path: root/src/timeline.h
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2019-03-17 10:17:15 +0530
committerDandelion <nirav@teisuu.com>2019-03-17 10:17:15 +0530
commitc608bcc3dfab2abe7b66c10f8556086b2d45b3a3 (patch)
treefe37f7b17ffdafdea96d13782b02c3855154a978 /src/timeline.h
parent72cedecbbfa6b17b444edf5943dce2ecc307a340 (diff)
downloadap_client-c608bcc3dfab2abe7b66c10f8556086b2d45b3a3.tar.gz
ap_client-c608bcc3dfab2abe7b66c10f8556086b2d45b3a3.zip
Fix load_timeline
Diffstat (limited to 'src/timeline.h')
-rw-r--r--src/timeline.h4
1 files changed, 2 insertions, 2 deletions
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