summaryrefslogtreecommitdiff
path: root/5/part2_fast.c
diff options
context:
space:
mode:
Diffstat (limited to '5/part2_fast.c')
-rw-r--r--5/part2_fast.c4
1 files changed, 4 insertions, 0 deletions
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)
{