OSDN Git Service

[Refactor] #1447 Replaced 'typedef struct dt_type dt_type;' to 'struct dt_type;'
authorHourier <grapefox.whitelucifer.0408@gmail.com>
Sat, 4 Sep 2021 06:43:54 +0000 (15:43 +0900)
committerHourier <grapefox.whitelucifer.0408@gmail.com>
Sat, 4 Sep 2021 06:57:52 +0000 (15:57 +0900)
src/floor/tunnel-generator.h
src/grid/feature-generator.h

index 1d1760f..c56a035 100644 (file)
@@ -3,7 +3,7 @@
 #include "system/angband.h"
 
 struct dun_data_type;
-typedef struct dt_type dt_type;
+struct dt_type;
 struct player_type;
 bool build_tunnel(player_type *player_ptr, dun_data_type *dd_ptr, dt_type *dt_ptr, POSITION row1, POSITION col1, POSITION row2, POSITION col2);
 bool build_tunnel2(player_type *player_ptr, dun_data_type *dd_ptr, POSITION x1, POSITION y1, POSITION x2, POSITION y2, int type, int cutoff);
index d1d6292..40cbd6d 100644 (file)
@@ -4,7 +4,7 @@
 
 struct dungeon_type;
 struct dun_data_type;
-typedef struct dt_type dt_type;
+struct dt_type;
 struct player_type;
 void gen_caverns_and_lakes(player_type *owner_ptr, dungeon_type *dungeon_ptr, dun_data_type *dd_ptr);
 bool has_river_flag(dungeon_type *dungeon_ptr);