diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-18 21:37:32 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-18 21:37:32 +0800 |
commit | b12fc8fbf21b44825dfd9f0afa43ea54900d32de (patch) | |
tree | 48fc0d875abcd12840dae4aeb0fcaecc2c5c1386 /pikul.c | |
parent | 1161463fce40f2e5b59ef6dd7406aa0a55f8d936 (diff) |
Conform to updated interfaces
Diffstat (limited to 'pikul.c')
-rw-r--r-- | pikul.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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: |