diff --git a/tictactoe_game.h b/tictactoe_game.h index 6a972bf..e7171f5 100644 --- a/tictactoe_game.h +++ b/tictactoe_game.h @@ -3,7 +3,7 @@ #include -typedef struct tictactoe_game { +typedef struct { char next_turn; char winner; char board[3][3]; diff --git a/tictactoe_internal.h b/tictactoe_internal.h index 7635cd8..94bfad0 100644 --- a/tictactoe_internal.h +++ b/tictactoe_internal.h @@ -10,7 +10,7 @@ #define tictactoe_error(format, ...) \ pr_err("%s: " format, __func__, ##__VA_ARGS__) -typedef struct annotated_string { +typedef struct { struct mutex lock; size_t len; char *buf;