From 635ecce5990cc763160bb7e89b9291f09d06afc5 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 10 Jun 2016 14:20:19 +0200 Subject: dbfp_query_departure: remove location argument, only use location_id --- dbfp.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dbfp.h') diff --git a/dbfp.h b/dbfp.h index 82d3801..d2be3f0 100644 --- a/dbfp.h +++ b/dbfp.h @@ -53,8 +53,7 @@ int dbfp_query_location(struct dbfp *dbfp, char *input, size_t *n, struct dbfp_location **locations); void dbfp_departure_close(struct dbfp_departure *departure); -int dbfp_query_departure(struct dbfp *dbfp, struct dbfp_location *location, - char *location_id, time_t time, size_t *n, - struct dbfp_departure **departures); +int dbfp_query_departure(struct dbfp *dbfp, char *location_id, time_t time, + size_t *n, struct dbfp_departure **departures); #endif /* DBFP_H_ */ -- cgit v1.2.1