OSDN Git Service

[Refactor] #1447 Replaced 'typedef struct text_body_type text_body_type;' to 'struct...
authorHourier <grapefox.whitelucifer.0408@gmail.com>
Sat, 4 Sep 2021 06:50:47 +0000 (15:50 +0900)
committerHourier <grapefox.whitelucifer.0408@gmail.com>
Sat, 4 Sep 2021 06:57:52 +0000 (15:57 +0900)
src/autopick/autopick-drawer.h
src/autopick/autopick-editor-command.h
src/autopick/autopick-editor-util.h
src/autopick/autopick-finder.h
src/autopick/autopick-inserter-killer.h

index 1414923..565c0ff 100644 (file)
@@ -1,5 +1,5 @@
 #pragma once
 
-typedef struct text_body_type text_body_type;
+struct text_body_type;
 struct player_type;
 void draw_text_editor(player_type *player_ptr, text_body_type *tb);
index 7a2ae7d..f8732c8 100644 (file)
@@ -8,5 +8,5 @@ enum ape_quittance {
 };
 
 struct player_type;
-typedef struct text_body_type text_body_type;
+struct text_body_type;
 ape_quittance do_editor_command(player_type *player_ptr, text_body_type *tb, int com_id);
index dab7d9c..8b0f1f2 100644 (file)
@@ -2,7 +2,7 @@
 
 #include "system/angband.h"
 
-typedef struct text_body_type text_body_type;
+struct text_body_type;
 void toggle_keyword(text_body_type *tb, BIT_FLAGS flg);
 void toggle_command_letter(text_body_type *tb, byte flg);
 void add_keyword(text_body_type *tb, BIT_FLAGS flg);
index 7e42855..afc6fe2 100644 (file)
@@ -4,7 +4,7 @@
 
 struct object_type;;
 struct player_type;
-typedef struct text_body_type text_body_type;
+struct text_body_type;
 int find_autopick_list(player_type *player_ptr, object_type *o_ptr);
 bool get_object_for_search(player_type *player_ptr, object_type **o_handle, concptr *search_strp);
 bool get_destroyed_object_for_search(player_type *player_ptr, object_type **o_handle, concptr *search_strp);
index 33119a2..3742526 100644 (file)
@@ -1,6 +1,6 @@
 #pragma once
 
-typedef struct text_body_type text_body_type;
+struct text_body_type;
 void check_expression_line(text_body_type *tb, int y);
 bool can_insert_line(text_body_type *tb, int add_num = 1);
 bool insert_return_code(text_body_type *tb);