diff options
author | 2025-05-22 22:59:39 +0600 | |
---|---|---|
committer | 2025-05-22 23:01:28 +0600 | |
commit | 29b8e5efb43bdb71737f1b417fedb3b1558bb9af (patch) | |
tree | 79eaca3ba73974af3c4d6989e3ebbb006b2404c5 /src/teams.h | |
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/teams.h')
-rw-r--r-- | src/teams.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/teams.h b/src/teams.h index 98fb6f3..62ca7f2 100644 --- a/src/teams.h +++ b/src/teams.h @@ -2,9 +2,10 @@ # define __TEAMS_H__ # include <stdint.h> # include <stdbool.h> -# include "cobj.h" # include "common.h" +# define __COBJ_DECL__ +# include "cobj.h" // Type definition Class(team, { List(team, name, char, [255]); @@ -16,6 +17,8 @@ Class(team, { Func(team, find_champion, team, ptr(team), size_t); Del (team); }); + +# define __COBJ_PUB__ # include "cobj.h" #endif /* __TEAMS_H__ */ /* vim: ts=8 */ |