From 41478193d6ee164f9d2980e70efb88cdffbf734b Mon Sep 17 00:00:00 2001 From: rofl0r Date: Wed, 8 Jun 2016 22:09:35 +0100 Subject: [PATCH] use libulz' strtoint64 for strtoll (saves 2.5KB) since libulz' strtoint64 doesn't have to deal with arbitrary bases, it's considerably smaller than musl's implementation (only of interest for static linking). the smallest x86_64 static linked binary is currently ~40.000 bytes. --- jobflow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jobflow.c b/jobflow.c index 0ce4be4..865d4f7 100644 --- a/jobflow.c +++ b/jobflow.c @@ -301,6 +301,8 @@ static int syntax(void) { return 1; } +#undef strtoll +#define strtoll(a,b,c) strtoint64(a, strlen(a)) static int parse_args(int argc, char** argv) { op_state op_b, *op = &op_b; op_init(op, argc, argv); -- 2.11.4.GIT