From 29b8e5efb43bdb71737f1b417fedb3b1558bb9af Mon Sep 17 00:00:00 2001 From: Mubashshir Date: Thu, 22 May 2025 22:59:39 +0600 Subject: Clean up and fix warnings Signed-off-by: Mubashshir --- src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index ecb1e65..06e2cdd 100644 --- a/src/main.c +++ b/src/main.c @@ -2,8 +2,9 @@ #include #include -#include "teams.h" #include "common.h" +#include "teams.h" + // ref(type) -> const ref to const data // mut(type) -> const ref to mut data @@ -59,7 +60,7 @@ int main() team champion = Call(dref(teams), find_champion, teams, num); Call(champion, printf); - while(num --) Del(team, teams[num]); + while(num --) Del(teams[num]); free(teams); return 0; -- cgit v1.2.3