• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisione1eefc60df9f2e4add25583e617ab3c9671b6571 (tree)
Time2019-06-09 23:09:24
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 convert_pathname() fsetfileinfo() の宣言を util.h へ移動.

Change Summary

Incremental Difference

--- a/src/externs.h
+++ b/src/externs.h
@@ -75,11 +75,3 @@ extern bool use_menu;
7575 extern u32b _ftype;
7676 extern u32b _fcreator;
7777 #endif
78-
79-#if defined(MAC_MPW) && defined(CARBON)
80-extern void convert_pathname(char *path);
81-#endif
82-
83-#if defined(MACH_O_CARBON)
84-extern void fsetfileinfo(concptr path, u32b fcreator, u32b ftype);
85-#endif
--- a/src/util.h
+++ b/src/util.h
@@ -293,9 +293,16 @@ extern int stricmp(concptr a, concptr b);
293293 extern int usleep(huge usecs);
294294 #endif
295295
296+#if defined(MAC_MPW) && defined(CARBON)
297+extern void convert_pathname(char *path);
298+#endif
299+
300+#if defined(MACH_O_CARBON)
301+extern void fsetfileinfo(concptr path, u32b fcreator, u32b ftype);
302+#endif
303+
296304 extern const char hexsym[16];
297305
298-/* util.c */
299306 extern errr path_parse(char *buf, int max, concptr file);
300307 extern errr path_build(char *buf, int max, concptr path, concptr file);
301308 extern FILE *my_fopen(concptr file, concptr mode);
Show on old repository browser