• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision93bb614e3da04f04e1d984bf30c11022af3ea081 (tree)
Time2019-06-09 23:11:59
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 _ftype, _fcreator 宣言を util.h へ移動.

Change Summary

Incremental Difference

--- a/src/externs.h
+++ b/src/externs.h
@@ -69,9 +69,3 @@ extern bool sukekaku;
6969 extern bool new_mane;
7070
7171 extern bool use_menu;
72-
73-#if defined(MAC_MPW) || defined(MACH_O_CARBON)
74-/* Globals needed */
75-extern u32b _ftype;
76-extern u32b _fcreator;
77-#endif
--- a/src/util.h
+++ b/src/util.h
@@ -301,6 +301,12 @@ extern void convert_pathname(char *path);
301301 extern void fsetfileinfo(concptr path, u32b fcreator, u32b ftype);
302302 #endif
303303
304+#if defined(MAC_MPW) || defined(MACH_O_CARBON)
305+/* Globals needed */
306+extern u32b _ftype;
307+extern u32b _fcreator;
308+#endif
309+
304310 extern const char hexsym[16];
305311
306312 extern errr path_parse(char *buf, int max, concptr file);
Show on old repository browser