summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
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 <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;