diff options
author | 2025-05-22 22:59:39 +0600 | |
---|---|---|
committer | 2025-05-22 23:01:28 +0600 | |
commit | 29b8e5efb43bdb71737f1b417fedb3b1558bb9af (patch) | |
tree | 79eaca3ba73974af3c4d6989e3ebbb006b2404c5 /src/main.c | |
parent | cefb440148fd80cac7537b3743dd0e018df3a797 (diff) | |
download | c-obp-example-29b8e5efb43bdb71737f1b417fedb3b1558bb9af.tar.gz c-obp-example-29b8e5efb43bdb71737f1b417fedb3b1558bb9af.zip |
Clean up and fix warnings
Signed-off-by: Mubashshir <ahmubashshir@gmail.com>
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,8 +2,9 @@ #include <string.h> #include <stdlib.h> -#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; |