OSDN Git Service

[Refactor] #1447 Replaced 'typedef struct activation_type activation_type;' to 'struc...
authorHourier <grapefox.whitelucifer.0408@gmail.com>
Sat, 4 Sep 2021 07:01:46 +0000 (16:01 +0900)
committerHourier <grapefox.whitelucifer.0408@gmail.com>
Sat, 4 Sep 2021 07:01:46 +0000 (16:01 +0900)
src/artifact/artifact-info.h
src/object-activation/activation-switcher.h

index d1231c5..7a84dab 100644 (file)
@@ -4,7 +4,7 @@
  * @brief アーティファクトの発動効果取得関数ヘッダ
  */
 
-typedef struct activation_type activation_type;
+struct activation_type;
 struct object_type;;
 struct player_type;
 int activation_index(const object_type *o_ptr);
index cf81e41..6e3554a 100644 (file)
@@ -2,7 +2,7 @@
 
 #include "system/angband.h"
 
-typedef struct activation_type activation_type;
+struct activation_type;
 struct object_type;;
 struct player_type;
 bool switch_activation(player_type *user_ptr, object_type **o_ptr_ptr, const activation_type *const act_ptr, concptr name);