aboutsummaryrefslogtreecommitdiff
path: root/src/2021/day4/aoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/2021/day4/aoc.cpp')
-rw-r--r--src/2021/day4/aoc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2021/day4/aoc.cpp b/src/2021/day4/aoc.cpp
index 6212dcd..e8dbff8 100644
--- a/src/2021/day4/aoc.cpp
+++ b/src/2021/day4/aoc.cpp
@@ -12,7 +12,7 @@ struct bnum {
bool operator<(const bnum& b) const noexcept { return v < b.v; }
};
-void get_number(const char** pp, int* d) {
+static void get_number(const char** pp, int* d) {
const char* p = *pp;
while (*p >= '0' && *p <= '9') {
*d = *d * 10 + *p - '0';