From 1953469f35360646a16682acb38d6f6271e5785b Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 7 Dec 2023 00:46:32 +0400 Subject: [PATCH] Forgot to change parse_number() in day 6 part 1. --- day6/p1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/day6/p1.c b/day6/p1.c index b5faf25..2559947 100644 --- a/day6/p1.c +++ b/day6/p1.c @@ -7,7 +7,7 @@ #define ISDIGIT(c) (c >= 0x30 && c <= 0x39) -int64_t parse_number(char *end); +inline int64_t parse_number(const char *end); int main(int argc, char **argv) { @@ -96,7 +96,7 @@ int main(int argc, char **argv) { return 0; } -int64_t parse_number(char *end) { +inline int64_t parse_number(const char *end) { int64_t num = 0; for (size_t m = 1;; m *= 10) {