diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-28 11:26:51 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-28 11:26:51 +0800 |
commit | 37f68c44c01cd64b3e54c3677aa71c767e13c4d6 (patch) | |
tree | 286deaae9cf2635197db96bdb6fec7d9688a29c1 | |
parent | f26ca413a5d2568fe20cbe4412dd9fbfb88e26dd (diff) |
Shorten pikul_company enum values
-rw-r--r-- | pikul.c | 4 | ||||
-rw-r--r-- | pikul.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -23,7 +23,7 @@ void pikul_init(enum pikul_company company, char *provisions[]) #endif shipping.company = company; switch (company) { - case PIKUL_COMPANY_ANTERAJA: + case PIKUL_ANTERAJA: anteraja_init(provisions, &shipping); break; default: @@ -51,7 +51,7 @@ struct pikul_services *pikul_services(const char *origin, const char *destinatio char *post = NULL; size_t (*handler)(const char *, size_t, size_t, struct pikul_services **); switch (shipping.company) { - case PIKUL_COMPANY_ANTERAJA: + case PIKUL_ANTERAJA: anteraja_services(origin, destination, weight, &shipping, &url, &post); handler = anteraja_services_handle; break; @@ -2,7 +2,7 @@ #define PIKUL_H enum pikul_company { - PIKUL_COMPANY_ANTERAJA + PIKUL_ANTERAJA }; struct pikul_service { |