diff --git a/day6/day6.c b/day6/day6.c index a6701a9..79e9862 100644 --- a/day6/day6.c +++ b/day6/day6.c @@ -43,7 +43,7 @@ noglobal inline static char assert_in_bound(char i) return i; } -static void populate(const char* from, answers_t * restrict ans) //wtf is this syntax? `bool* restrict a` -> `bool a[restrict N]`???? +static void populate(const char* from, answers_t * restrict ans) { while(*from) ans->table[(int)assert_in_bound((*from++)-'a')]