From 1e0092d454d4243da23d421b35a02a5d80ec9d30 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Tue, 22 Dec 2020 00:27:40 +0100 Subject: Improve assembly day 5 --- 5/part2_fast.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to '5/part2_fast.c') diff --git a/5/part2_fast.c b/5/part2_fast.c index 2334390..483dd8f 100644 --- a/5/part2_fast.c +++ b/5/part2_fast.c @@ -27,6 +27,9 @@ int column(const char *seat) return end_res; } +#ifdef USE_ASM +int seat_id(const char *seat); +#else int seat_id(const char *seat) { int end_res = 0; @@ -45,6 +48,7 @@ int seat_id(const char *seat) return end_res; } +#endif int missing_seat_id(const char *filename) { -- cgit v1.2.3