• R/O
  • HTTP
  • SSH
  • HTTPS

hengbandosx: 提交

The master and develop branches track hengband.

OS X development happens on the macos-1-6-2, macos-2-2-1, and macos-develop branches.


Commit MetaInfo

修订版8447497d6e86b28cb290bb0c6a49621814d7db1b (tree)
时间2022-09-11 18:44:43
作者Hourier <66951241+Hourier@user...>
CommiterGitHub

Log Message

Merge pull request #2623 from Hourier/Remove-Unnecessary-Extern

cpp側に定義されたextern 宣言を削除した

更改概述

差异

--- a/src/player/player-status-table.cpp
+++ b/src/player/player-status-table.cpp
@@ -3,7 +3,7 @@
33 /*!
44 * @brief 能力値テーブル / Abbreviations of healthy stats
55 */
6-extern const concptr stat_names[A_MAX] = {
6+const concptr stat_names[A_MAX] = {
77 #ifdef JP
88 "腕力 :", "知能 :", "賢さ :", "器用 :", "耐久 :", "魅力 :"
99 #else
@@ -14,7 +14,7 @@ extern const concptr stat_names[A_MAX] = {
1414 /*!
1515 * @brief 能力値テーブル(能力低下時) / Abbreviations of damaged stats
1616 */
17-extern const concptr stat_names_reduced[A_MAX] = {
17+const concptr stat_names_reduced[A_MAX] = {
1818 #ifdef JP
1919 "腕力x:", "知能x:", "賢さx:", "器用x:", "耐久x:", "魅力x:"
2020 #else
@@ -26,7 +26,7 @@ extern const concptr stat_names_reduced[A_MAX] = {
2626 * @brief 基本必要経験値テーブル /
2727 * Base experience levels, may be adjusted up for race and/or class
2828 */
29-extern const int32_t player_exp[PY_MAX_LEVEL] = { 10, 25, 45, 70, 100, 140, 200, 280, 380, /*10*/
29+const int32_t player_exp[PY_MAX_LEVEL] = { 10, 25, 45, 70, 100, 140, 200, 280, 380, /*10*/
3030 500, 650, 850, 1100, 1400, 1800, 2300, 2900, 3600, 4400, /*20*/
3131 5400, 6800, 8400, 10200, 12500, 17500, 25000, 35000L, 50000L, 75000L, /*30*/
3232 100000L, 150000L, 200000L, 275000L, 350000L, 450000L, 550000L, 700000L, 850000L, 1000000L, /*40*/
@@ -36,7 +36,7 @@ extern const int32_t player_exp[PY_MAX_LEVEL] = { 10, 25, 45, 70, 100, 140, 200,
3636 /*!
3737 * @brief 基本必要強化値テーブル(アンドロイド専用)
3838 */
39-extern const int32_t player_exp_a[PY_MAX_LEVEL] = { 20, 50, 100, 170, 280, 430, 650, 950, 1400, /*10*/
39+const int32_t player_exp_a[PY_MAX_LEVEL] = { 20, 50, 100, 170, 280, 430, 650, 950, 1400, /*10*/
4040 1850, 2300, 2900, 3600, 4400, 5400, 6800, 8400, 10400, 12500, /*20*/
4141 17500, 25000, 35000, 50000L, 75000L, 100000L, 150000L, 200000L, 275000L, 350000L, /*30*/
4242 450000L, 550000L, 650000L, 800000L, 950000L, 1100000L, 1250000L, 1400000L, 1550000L, 1700000L, /*40*/
@@ -47,7 +47,7 @@ extern const int32_t player_exp_a[PY_MAX_LEVEL] = { 20, 50, 100, 170, 280, 430,
4747 * 知力/賢さによるレベル毎の習得可能魔法数テーブル
4848 * Stat Table (INT/WIS) -- Number of half-spells per level
4949 */
50-extern const byte adj_mag_study[] = {
50+const byte adj_mag_study[] = {
5151 0 /* 3 */, 0 /* 4 */, 0 /* 5 */, 0 /* 6 */, 0 /* 7 */, 1 /* 8 */, 1 /* 9 */, 1 /* 10 */, 1 /* 11 */, 2 /* 12 */, 2 /* 13 */, 2 /* 14 */, 2 /* 15 */,
5252 2 /* 16 */, 2 /* 17 */, 2 /* 18/00-18/09 */, 2 /* 18/10-18/19 */, 2 /* 18/20-18/29 */, 2 /* 18/30-18/39 */, 2 /* 18/40-18/49 */, 3 /* 18/50-18/59 */,
5353 3 /* 18/60-18/69 */, 3 /* 18/70-18/79 */, 3 /* 18/80-18/89 */, 4 /* 18/90-18/99 */, 4 /* 18/100-18/109 */, 4 /* 18/110-18/119 */, 5 /* 18/120-18/129 */,
@@ -59,7 +59,7 @@ extern const byte adj_mag_study[] = {
5959 * 知力/賢さによるMP修正テーブル
6060 * Stat Table (INT/WIS) -- extra 1/4-mana-points per level
6161 */
62-extern const byte adj_mag_mana[] = {
62+const byte adj_mag_mana[] = {
6363 0 /* 3 */, 0 /* 4 */, 0 /* 5 */, 0 /* 6 */, 0 /* 7 */, 1 /* 8 */, 2 /* 9 */, 3 /* 10 */, 4 /* 11 */, 5 /* 12 */, 5 /* 13 */, 6 /* 14 */, 7 /* 15 */,
6464 8 /* 16 */, 9 /* 17 */, 10 /* 18/00-18/09 */, 11 /* 18/10-18/19 */, 11 /* 18/20-18/29 */, 12 /* 18/30-18/39 */, 12 /* 18/40-18/49 */, 13 /* 18/50-18/59 */,
6565 14 /* 18/60-18/69 */, 15 /* 18/70-18/79 */, 16 /* 18/80-18/89 */, 17 /* 18/90-18/99 */, 18 /* 18/100-18/109 */, 19 /* 18/110-18/119 */,
@@ -71,7 +71,7 @@ extern const byte adj_mag_mana[] = {
7171 * 知力/賢さによる最低魔法失敗率テーブル
7272 * Stat Table (INT/WIS) -- Minimum failure rate (percentage)
7373 */
74-extern const byte adj_mag_fail[] = {
74+const byte adj_mag_fail[] = {
7575 99 /* 3 */, 99 /* 4 */, 99 /* 5 */, 99 /* 6 */, 99 /* 7 */, 50 /* 8 */, 30 /* 9 */, 20 /* 10 */, 15 /* 11 */, 12 /* 12 */, 11 /* 13 */, 10 /* 14 */,
7676 9 /* 15 */, 8 /* 16 */, 7 /* 17 */, 6 /* 18/00-18/09 */, 6 /* 18/10-18/19 */, 5 /* 18/20-18/29 */, 5 /* 18/30-18/39 */, 5 /* 18/40-18/49 */,
7777 4 /* 18/50-18/59 */, 4 /* 18/60-18/69 */, 4 /* 18/70-18/79 */, 4 /* 18/80-18/89 */, 3 /* 18/90-18/99 */, 3 /* 18/100-18/109 */, 2 /* 18/110-18/119 */,
@@ -83,7 +83,7 @@ extern const byte adj_mag_fail[] = {
8383 * 知力/賢さによる魔法失敗率修正テーブル
8484 * Stat Table (INT/WIS) -- Various things
8585 */
86-extern const byte adj_mag_stat[] = {
86+const byte adj_mag_stat[] = {
8787 0 /* 3 */, 0 /* 4 */, 0 /* 5 */, 0 /* 6 */, 0 /* 7 */, 1 /* 8 */, 1 /* 9 */, 1 /* 10 */, 1 /* 11 */, 1 /* 12 */, 1 /* 13 */, 1 /* 14 */, 2 /* 15 */,
8888 2 /* 16 */, 2 /* 17 */, 3 /* 18/00-18/09 */, 3 /* 18/10-18/19 */, 3 /* 18/20-18/29 */, 3 /* 18/30-18/39 */, 3 /* 18/40-18/49 */, 4 /* 18/50-18/59 */,
8989 4 /* 18/60-18/69 */, 5 /* 18/70-18/79 */, 6 /* 18/80-18/89 */, 7 /* 18/90-18/99 */, 8 /* 18/100-18/109 */, 9 /* 18/110-18/119 */, 10 /* 18/120-18/129 */,
@@ -95,7 +95,7 @@ extern const byte adj_mag_stat[] = {
9595 * 魅力による店での取引修正テーブル
9696 * Stat Table (CHR) -- payment percentages
9797 */
98-extern const byte adj_chr_gold[] = {
98+const byte adj_chr_gold[] = {
9999 130 /* 3 */, 125 /* 4 */, 122 /* 5 */, 120 /* 6 */, 118 /* 7 */, 116 /* 8 */, 114 /* 9 */, 112 /* 10 */, 110 /* 11 */, 108 /* 12 */, 106 /* 13 */,
100100 104 /* 14 */, 103 /* 15 */, 102 /* 16 */, 101 /* 17 */, 100 /* 18/00-18/09 */, 99 /* 18/10-18/19 */, 98 /* 18/20-18/29 */, 97 /* 18/30-18/39 */,
101101 96 /* 18/40-18/49 */, 95 /* 18/50-18/59 */, 94 /* 18/60-18/69 */, 93 /* 18/70-18/79 */, 92 /* 18/80-18/89 */, 91 /* 18/90-18/99 */, 90 /* 18/100-18/109 */,
@@ -107,7 +107,7 @@ extern const byte adj_chr_gold[] = {
107107 * 知力による魔道具使用修正テーブル
108108 * Stat Table (INT) -- Magic devices
109109 */
110-extern const byte adj_int_dev[] = {
110+const byte adj_int_dev[] = {
111111 0 /* 3 */, 0 /* 4 */, 0 /* 5 */, 0 /* 6 */, 0 /* 7 */, 1 /* 8 */, 1 /* 9 */, 1 /* 10 */, 1 /* 11 */, 1 /* 12 */, 1 /* 13 */, 1 /* 14 */, 2 /* 15 */,
112112 2 /* 16 */, 2 /* 17 */, 3 /* 18/00-18/09 */, 3 /* 18/10-18/19 */, 4 /* 18/20-18/29 */, 4 /* 18/30-18/39 */, 5 /* 18/40-18/49 */, 5 /* 18/50-18/59 */,
113113 6 /* 18/60-18/69 */, 6 /* 18/70-18/79 */, 7 /* 18/80-18/89 */, 7 /* 18/90-18/99 */, 8 /* 18/100-18/109 */, 9 /* 18/110-18/119 */, 10 /* 18/120-18/129 */,
@@ -119,7 +119,7 @@ extern const byte adj_int_dev[] = {
119119 * 賢さによる魔法防御修正テーブル
120120 * Stat Table (WIS) -- Saving throw
121121 */
122-extern const byte adj_wis_sav[] = {
122+const byte adj_wis_sav[] = {
123123 0 /* 3 */, 0 /* 4 */, 0 /* 5 */, 0 /* 6 */, 0 /* 7 */, 1 /* 8 */, 1 /* 9 */, 1 /* 10 */, 1 /* 11 */, 1 /* 12 */, 1 /* 13 */, 1 /* 14 */, 2 /* 15 */,
124124 2 /* 16 */, 2 /* 17 */, 3 /* 18/00-18/09 */, 3 /* 18/10-18/19 */, 3 /* 18/20-18/29 */, 3 /* 18/30-18/39 */, 3 /* 18/40-18/49 */, 4 /* 18/50-18/59 */,
125125 4 /* 18/60-18/69 */, 5 /* 18/70-18/79 */, 5 /* 18/80-18/89 */, 6 /* 18/90-18/99 */, 7 /* 18/100-18/109 */, 8 /* 18/110-18/119 */, 9 /* 18/120-18/129 */,
@@ -131,7 +131,7 @@ extern const byte adj_wis_sav[] = {
131131 * 器用さによるトラップ解除修正テーブル
132132 * Stat Table (DEX) -- disarming
133133 */
134-extern const byte adj_dex_dis[] = {
134+const byte adj_dex_dis[] = {
135135 0 /* 3 */, 0 /* 4 */, 0 /* 5 */, 0 /* 6 */, 0 /* 7 */, 0 /* 8 */, 0 /* 9 */, 0 /* 10 */, 0 /* 11 */, 0 /* 12 */, 1 /* 13 */, 1 /* 14 */, 1 /* 15 */,
136136 2 /* 16 */, 2 /* 17 */, 4 /* 18/00-18/09 */, 4 /* 18/10-18/19 */, 4 /* 18/20-18/29 */, 4 /* 18/30-18/39 */, 5 /* 18/40-18/49 */, 5 /* 18/50-18/59 */,
137137 5 /* 18/60-18/69 */, 6 /* 18/70-18/79 */, 6 /* 18/80-18/89 */, 7 /* 18/90-18/99 */, 8 /* 18/100-18/109 */, 8 /* 18/110-18/119 */, 8 /* 18/120-18/129 */,
@@ -143,7 +143,7 @@ extern const byte adj_dex_dis[] = {
143143 * 知力によるトラップ解除修正テーブル
144144 * Stat Table (INT) -- disarming
145145 */
146-extern const byte adj_int_dis[] = {
146+const byte adj_int_dis[] = {
147147 0 /* 3 */, 0 /* 4 */, 0 /* 5 */, 0 /* 6 */, 0 /* 7 */, 1 /* 8 */, 1 /* 9 */, 1 /* 10 */, 1 /* 11 */, 1 /* 12 */, 1 /* 13 */, 1 /* 14 */, 2 /* 15 */,
148148 2 /* 16 */, 2 /* 17 */, 3 /* 18/00-18/09 */, 3 /* 18/10-18/19 */, 3 /* 18/20-18/29 */, 4 /* 18/30-18/39 */, 4 /* 18/40-18/49 */, 5 /* 18/50-18/59 */,
149149 6 /* 18/60-18/69 */, 7 /* 18/70-18/79 */, 8 /* 18/80-18/89 */, 9 /* 18/90-18/99 */, 10 /* 18/100-18/109 */, 10 /* 18/110-18/119 */, 11 /* 18/120-18/129 */,
@@ -155,7 +155,7 @@ extern const byte adj_int_dis[] = {
155155 * 器用さによるAC修正テーブル
156156 * Stat Table (DEX) -- bonus to ac (plus 128)
157157 */
158-extern const byte adj_dex_ta[] = {
158+const byte adj_dex_ta[] = {
159159 128 + -4 /* 3 */, 128 + -3 /* 4 */, 128 + -2 /* 5 */, 128 + -1 /* 6 */, 128 + 0 /* 7 */, 128 + 0 /* 8 */, 128 + 0 /* 9 */, 128 + 0 /* 10 */,
160160 128 + 0 /* 11 */, 128 + 0 /* 12 */, 128 + 0 /* 13 */, 128 + 0 /* 14 */, 128 + 1 /* 15 */, 128 + 1 /* 16 */, 128 + 1 /* 17 */, 128 + 2 /* 18/00-18/09 */,
161161 128 + 2 /* 18/10-18/19 */, 128 + 2 /* 18/20-18/29 */, 128 + 2 /* 18/30-18/39 */, 128 + 2 /* 18/40-18/49 */, 128 + 3 /* 18/50-18/59 */,
@@ -169,7 +169,7 @@ extern const byte adj_dex_ta[] = {
169169 * 腕力によるダメージ修正テーブル
170170 * Stat Table (STR) -- bonus to dam (plus 128)
171171 */
172-extern const byte adj_str_td[] = {
172+const byte adj_str_td[] = {
173173 128 + -2 /* 3 */, 128 + -2 /* 4 */, 128 + -1 /* 5 */, 128 + -1 /* 6 */, 128 + 0 /* 7 */, 128 + 0 /* 8 */, 128 + 0 /* 9 */, 128 + 0 /* 10 */,
174174 128 + 0 /* 11 */, 128 + 0 /* 12 */, 128 + 0 /* 13 */, 128 + 0 /* 14 */, 128 + 0 /* 15 */, 128 + 1 /* 16 */, 128 + 2 /* 17 */, 128 + 2 /* 18/00-18/09 */,
175175 128 + 2 /* 18/10-18/19 */, 128 + 3 /* 18/20-18/29 */, 128 + 3 /* 18/30-18/39 */, 128 + 3 /* 18/40-18/49 */, 128 + 3 /* 18/50-18/59 */,
@@ -183,7 +183,7 @@ extern const byte adj_str_td[] = {
183183 * 器用度による命中修正テーブル
184184 * Stat Table (DEX) -- bonus to hit (plus 128)
185185 */
186-extern const byte adj_dex_th[] = {
186+const byte adj_dex_th[] = {
187187 128 + -3 /* 3 */, 128 + -2 /* 4 */, 128 + -2 /* 5 */, 128 + -1 /* 6 */, 128 + -1 /* 7 */, 128 + 0 /* 8 */, 128 + 0 /* 9 */, 128 + 0 /* 10 */,
188188 128 + 0 /* 11 */, 128 + 0 /* 12 */, 128 + 0 /* 13 */, 128 + 0 /* 14 */, 128 + 0 /* 15 */, 128 + 1 /* 16 */, 128 + 2 /* 17 */, 128 + 3 /* 18/00-18/09 */,
189189 128 + 3 /* 18/10-18/19 */, 128 + 3 /* 18/20-18/29 */, 128 + 3 /* 18/30-18/39 */, 128 + 3 /* 18/40-18/49 */, 128 + 4 /* 18/50-18/59 */,
@@ -197,7 +197,7 @@ extern const byte adj_dex_th[] = {
197197 * 腕力による命中修正テーブル
198198 * Stat Table (STR) -- bonus to hit (plus 128)
199199 */
200-extern const byte adj_str_th[] = {
200+const byte adj_str_th[] = {
201201 128 + -3 /* 3 */, 128 + -2 /* 4 */, 128 + -1 /* 5 */, 128 + -1 /* 6 */, 128 + 0 /* 7 */, 128 + 0 /* 8 */, 128 + 0 /* 9 */, 128 + 0 /* 10 */,
202202 128 + 0 /* 11 */, 128 + 0 /* 12 */, 128 + 0 /* 13 */, 128 + 0 /* 14 */, 128 + 0 /* 15 */, 128 + 0 /* 16 */, 128 + 0 /* 17 */, 128 + 1 /* 18/00-18/09 */,
203203 128 + 1 /* 18/10-18/19 */, 128 + 1 /* 18/20-18/29 */, 128 + 1 /* 18/30-18/39 */, 128 + 1 /* 18/40-18/49 */, 128 + 1 /* 18/50-18/59 */,
@@ -211,7 +211,7 @@ extern const byte adj_str_th[] = {
211211 * 腕力による基本所持重量値テーブル
212212 * Stat Table (STR) -- weight limit in deca-pounds
213213 */
214-extern const byte adj_str_wgt[] = {
214+const byte adj_str_wgt[] = {
215215 10 /* 3 */, 11 /* 4 */, 12 /* 5 */, 13 /* 6 */, 14 /* 7 */, 15 /* 8 */, 16 /* 9 */, 17 /* 10 */, 18 /* 11 */, 19 /* 12 */, 20 /* 13 */, 21 /* 14 */,
216216 22 /* 15 */, 23 /* 16 */, 24 /* 17 */, 25 /* 18/00-18/09 */, 26 /* 18/10-18/19 */, 27 /* 18/20-18/29 */, 28 /* 18/30-18/39 */, 29 /* 18/40-18/49 */,
217217 30 /* 18/50-18/59 */, 31 /* 18/60-18/69 */, 31 /* 18/70-18/79 */, 32 /* 18/80-18/89 */, 32 /* 18/90-18/99 */, 33 /* 18/100-18/109 */,
@@ -223,7 +223,7 @@ extern const byte adj_str_wgt[] = {
223223 * 腕力による武器重量限界値テーブル
224224 * Stat Table (STR) -- weapon weight limit in pounds
225225 */
226-extern const byte adj_str_hold[] = {
226+const byte adj_str_hold[] = {
227227 4 /* 3 */, 5 /* 4 */, 6 /* 5 */, 7 /* 6 */, 8 /* 7 */, 9 /* 8 */, 10 /* 9 */, 11 /* 10 */, 12 /* 11 */, 13 /* 12 */, 14 /* 13 */, 15 /* 14 */, 16 /* 15 */,
228228 17 /* 16 */, 18 /* 17 */, 19 /* 18/00-18/09 */, 20 /* 18/10-18/19 */, 21 /* 18/20-18/29 */, 22 /* 18/30-18/39 */, 23 /* 18/40-18/49 */,
229229 24 /* 18/50-18/59 */, 25 /* 18/60-18/69 */, 26 /* 18/70-18/79 */, 27 /* 18/80-18/89 */, 28 /* 18/90-18/99 */, 30 /* 18/100-18/109 */,
@@ -235,7 +235,7 @@ extern const byte adj_str_hold[] = {
235235 * 腕力による採掘能力修正値テーブル
236236 * Stat Table (STR) -- digging value
237237 */
238-extern const byte adj_str_dig[] = {
238+const byte adj_str_dig[] = {
239239 0 /* 3 */, 0 /* 4 */, 1 /* 5 */, 2 /* 6 */, 3 /* 7 */, 4 /* 8 */, 4 /* 9 */, 5 /* 10 */, 5 /* 11 */, 6 /* 12 */, 6 /* 13 */, 7 /* 14 */, 7 /* 15 */,
240240 8 /* 16 */, 8 /* 17 */, 9 /* 18/00-18/09 */, 10 /* 18/10-18/19 */, 12 /* 18/20-18/29 */, 15 /* 18/30-18/39 */, 20 /* 18/40-18/49 */, 25 /* 18/50-18/59 */,
241241 30 /* 18/60-18/69 */, 35 /* 18/70-18/79 */, 40 /* 18/80-18/89 */, 45 /* 18/90-18/99 */, 50 /* 18/100-18/109 */, 55 /* 18/110-18/119 */,
@@ -247,7 +247,7 @@ extern const byte adj_str_dig[] = {
247247 * 器用さによる盗難防止&体当たり成功判定修正テーブル
248248 * Stat Table (DEX) -- chance of avoiding "theft" and "falling"
249249 */
250-extern const byte adj_dex_safe[] = {
250+const byte adj_dex_safe[] = {
251251 0 /* 3 */, 1 /* 4 */, 2 /* 5 */, 3 /* 6 */, 4 /* 7 */, 5 /* 8 */, 5 /* 9 */, 6 /* 10 */, 6 /* 11 */, 7 /* 12 */, 7 /* 13 */, 8 /* 14 */, 8 /* 15 */,
252252 9 /* 16 */, 9 /* 17 */, 10 /* 18/00-18/09 */, 10 /* 18/10-18/19 */, 15 /* 18/20-18/29 */, 15 /* 18/30-18/39 */, 20 /* 18/40-18/49 */, 25 /* 18/50-18/59 */,
253253 30 /* 18/60-18/69 */, 35 /* 18/70-18/79 */, 40 /* 18/80-18/89 */, 45 /* 18/90-18/99 */, 50 /* 18/100-18/109 */, 60 /* 18/110-18/119 */,
@@ -259,7 +259,7 @@ extern const byte adj_dex_safe[] = {
259259 * 耐久による基本HP自然治癒値テーブル /
260260 * Stat Table (CON) -- base regeneration rate
261261 */
262-extern const byte adj_con_fix[] = {
262+const byte adj_con_fix[] = {
263263 0 /* 3 */, 0 /* 4 */, 0 /* 5 */, 0 /* 6 */, 0 /* 7 */, 0 /* 8 */, 0 /* 9 */, 0 /* 10 */, 0 /* 11 */, 0 /* 12 */, 0 /* 13 */, 1 /* 14 */, 1 /* 15 */,
264264 1 /* 16 */, 1 /* 17 */, 2 /* 18/00-18/09 */, 2 /* 18/10-18/19 */, 2 /* 18/20-18/29 */, 2 /* 18/30-18/39 */, 2 /* 18/40-18/49 */, 3 /* 18/50-18/59 */,
265265 3 /* 18/60-18/69 */, 3 /* 18/70-18/79 */, 3 /* 18/80-18/89 */, 3 /* 18/90-18/99 */, 4 /* 18/100-18/109 */, 4 /* 18/110-18/119 */, 5 /* 18/120-18/129 */,
@@ -271,7 +271,7 @@ extern const byte adj_con_fix[] = {
271271 * 耐久による基本HP自然治癒値テーブル /
272272 * Stat Table (CON) -- extra 1/4-hitpoints per level (plus 128)
273273 */
274-extern const byte adj_con_mhp[] = {
274+const byte adj_con_mhp[] = {
275275 128 + -8 /* 3 */, 128 + -6 /* 4 */, 128 + -4 /* 5 */, 128 + -2 /* 6 */, 128 + -1 /* 7 */, 128 + 0 /* 8 */, 128 + 0 /* 9 */, 128 + 0 /* 10 */,
276276 128 + 0 /* 11 */, 128 + 0 /* 12 */, 128 + 0 /* 13 */, 128 + 1 /* 14 */, 128 + 1 /* 15 */, 128 + 2 /* 16 */, 128 + 3 /* 17 */, 128 + 4 /* 18/00-18/09 */,
277277 128 + 5 /* 18/10-18/19 */, 128 + 6 /* 18/20-18/29 */, 128 + 7 /* 18/30-18/39 */, 128 + 8 /* 18/40-18/49 */, 128 + 9 /* 18/50-18/59 */,
@@ -285,7 +285,7 @@ extern const byte adj_con_mhp[] = {
285285 * 魅力による魅了能力修正テーブル /
286286 * Stat Table (CHR) -- charm
287287 */
288-extern const byte adj_chr_chm[] = {
288+const byte adj_chr_chm[] = {
289289 0 /* 3 */, 0 /* 4 */, 1 /* 5 */, 2 /* 6 */, 3 /* 7 */, 4 /* 8 */, 4 /* 9 */, 5 /* 10 */, 5 /* 11 */, 6 /* 12 */, 6 /* 13 */, 7 /* 14 */, 7 /* 15 */,
290290 8 /* 16 */, 8 /* 17 */, 9 /* 18/00-18/09 */, 10 /* 18/10-18/19 */, 12 /* 18/20-18/29 */, 15 /* 18/30-18/39 */, 18 /* 18/40-18/49 */, 21 /* 18/50-18/59 */,
291291 24 /* 18/60-18/69 */, 28 /* 18/70-18/79 */, 32 /* 18/80-18/89 */, 36 /* 18/90-18/99 */, 39 /* 18/100-18/109 */, 42 /* 18/110-18/119 */,
--- a/src/util/angband-files.cpp
+++ b/src/util/angband-files.cpp
@@ -38,8 +38,8 @@ int usleep(ulong usecs)
3838 * Hack -- External functions
3939 */
4040 #ifdef SET_UID
41-extern struct passwd *getpwuid(uid_t uid);
42-extern struct passwd *getpwnam(concptr name);
41+struct passwd *getpwuid(uid_t uid);
42+struct passwd *getpwnam(concptr name);
4343 #endif
4444
4545 /*
Show on old repository browser