OSDN Git Service

[Refactor] #37353 util.h へ関数宣言を移動.
authordeskull <deskull@users.sourceforge.jp>
Wed, 8 May 2019 14:11:02 +0000 (23:11 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Wed, 8 May 2019 14:11:02 +0000 (23:11 +0900)
src/externs.h
src/util.h

index abb916b..b64d921 100644 (file)
@@ -192,27 +192,6 @@ extern void update_output(void);
 extern void print_monster_list(TERM_LEN x, TERM_LEN y, TERM_LEN max_lines);
 extern void update_playtime(void);
 
-/*
- * Hack -- conditional (or "bizarre") externs
- */
-
-#ifdef SET_UID
-/* util.c */
-extern void user_name(char *buf, int id);
-#endif
-
-#if 0
-#ifndef HAS_STRICMP
-/* util.c */
-extern int stricmp(concptr a, concptr b);
-#endif
-#endif
-
-#ifndef HAVE_USLEEP
-/* util.c */
-extern int usleep(huge usecs);
-#endif
-
 #ifdef MACINTOSH
 /* main-mac.c */
 /* extern void main(void); */
index cd889f6..c149c6a 100644 (file)
@@ -40,6 +40,24 @@ extern u32b message__tail;
 extern u32b *message__ptr;
 extern char *message__buf;
 
+/*
+ * Hack -- conditional (or "bizarre") externs
+ */
+
+#ifdef SET_UID
+extern void user_name(char *buf, int id);
+#endif
+
+#if 0
+#ifndef HAS_STRICMP
+extern int stricmp(concptr a, concptr b);
+#endif
+#endif
+
+#ifndef HAVE_USLEEP
+extern int usleep(huge usecs);
+#endif
+
 /* util.c */
 extern errr path_parse(char *buf, int max, concptr file);
 extern errr path_build(char *buf, int max, concptr path, concptr file);