OSDN Git Service

[Refactor] #40413 Separated bit-flags-calculator.h from util.h
[hengbandforosx/hengbandosx.git] / src / knowledge / knowledge-autopick.c
index e641216..6a9d467 100644 (file)
@@ -4,12 +4,14 @@
  * @author Hourier
  */
 
-#include "angband.h"
 #include "knowledge/knowledge-autopick.h"
-#include "cmd/dump-util.h"
-#include "core/show-file.h"
-#include "autopick/autopick.h"
+#include "autopick/autopick-entry.h"
 #include "autopick/autopick-methods-table.h"
+#include "autopick/autopick-reader-writer.h"
+#include "core/asking-player.h"
+#include "core/show-file.h"
+#include "io-dump/dump-util.h"
+#include "util/angband-files.h"
 
  /*!
   * @brief 自動拾い設定ファイルをロードするコマンドのメインルーチン /
@@ -76,7 +78,7 @@ void do_cmd_knowledge_autopick(player_type *creature_ptr)
                fprintf(fff, "\n");
        }
 
-       my_fclose(fff);
+       angband_fclose(fff);
 
        (void)show_file(creature_ptr, TRUE, file_name, _("自動拾い/破壊 設定リスト", "Auto-picker/Destroyer"), 0, 0);
        fd_kill(file_name);