From b12fc8fbf21b44825dfd9f0afa43ea54900d32de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 18 Jul 2021 21:37:32 +0800 Subject: Conform to updated interfaces --- pikul.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pikul.c') diff --git a/pikul.c b/pikul.c index a2e61b5..b059dd8 100644 --- a/pikul.c +++ b/pikul.c @@ -17,9 +17,9 @@ void anteraja_order(const char *, const char *, const char *, const char *, cons size_t anteraja_order_handle(const char *, size_t size, size_t nmemb, char **); void anteraja_cleanup(); -extern void sicepat_init(char *[], struct shipping *); -extern void sicepat_services(const char *, const char *, double, struct shipping *, char **); -extern size_t sicepat_services_handle(const char *, size_t, size_t, struct pikul_services **); +void sicepat_init(char *[]); +void sicepat_services(const char *, const char *, double, char **); +size_t sicepat_services_handle(const char *, size_t, size_t, struct pikul_services **); void pikul_init(enum pikul_company company, char *provisions[]) { @@ -34,7 +34,7 @@ void pikul_init(enum pikul_company company, char *provisions[]) anteraja_init(provisions); break; case PIKUL_SICEPAT: - sicepat_init(provisions, &shipping); + sicepat_init(provisions); break; default: break; @@ -66,7 +66,7 @@ struct pikul_services *pikul_services(const char *origin, const char *destinatio handler = anteraja_services_handle; break; case PIKUL_SICEPAT: - sicepat_services(origin, destination, weight, &shipping, &url); + sicepat_services(origin, destination, weight, &url); handler = sicepat_services_handle; break; default: -- cgit v1.2.3