OSDN Git Service

./bootstrap 実行時に warning が出ないよう修正。
[hengband/hengband.git] / src / z-rand.h
index b5296b8..84e0c69 100644 (file)
@@ -1,5 +1,14 @@
 /* File: z-rand.h */
 
+/*
+ * Copyright (c) 1997 Ben Harrison, and others
+ *
+ * This software may be copied and distributed for educational, research,
+ * and not for profit purposes provided that this copyright and statement
+ * are included in all such copies.  Other copyrights may also apply.
+ */
+
+
 #ifndef INCLUDED_Z_RAND_H
 #define INCLUDED_Z_RAND_H
 
@@ -87,6 +96,8 @@ extern s32b Rand_div(u32b m);
 extern s16b randnor(int mean, int stand);
 extern s16b damroll(int num, int sides);
 extern s16b maxroll(int num, int sides);
+extern s32b div_round(s32b n, s32b d);
+extern u32b Rand_simple(u32b m);
 
 
 #endif