Skip to content
Snippets Groups Projects
Commit 6b111f0a authored by ERKEN EFE's avatar ERKEN EFE
Browse files

:bug: BUGFIX: Fix header interdependency issue

Fixed issue where two header files included each other recursively.
parent b958ad5b
Branches
Tags
No related merge requests found
#ifndef PLAYER_HEADER
#define PLAYER_HEADER
typedef struct player {
struct Grid;
typedef struct Grid grid;
typedef struct Player {
int x;
int y;
} Player;
} player;
enum Direction {
LEFT = 'h',
......@@ -13,6 +16,6 @@ enum Direction {
RIGHT = 'l'
};
void move_player(grid* G, enum Direction D);
#endif
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment