summaryrefslogtreecommitdiff
path: root/src/birth.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-03-26 23:00:48 +0100
committerBardur Arantsson <bardur@scientician.net>2013-09-27 14:46:42 +0200
commitacca45d6a22406a74d5dc56e00ff0c6ad8e478b8 (patch)
treef461ef0b84f500d73ad4c4e2d8bf1e7f36dce860 /src/birth.c
parent3ceb6ba12f66db6df2e1b73e02de33a8950564de (diff)
Constness fixes
Diffstat (limited to 'src/birth.c')
-rw-r--r--src/birth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/birth.c b/src/birth.c
index c6b612d3..60a6b3ee 100644
--- a/src/birth.c
+++ b/src/birth.c
@@ -58,7 +58,7 @@ static s32b auto_round;
static s32b last_round;
/* Human */
-static char *human_syllable1[] =
+static const char *human_syllable1[] =
{
"Ab", "Ac", "Ad", "Af", "Agr", "Ast", "As", "Al", "Adw", "Adr", "Ar",
"B", "Br", "C", "Cr", "Ch", "Cad", "D", "Dr", "Dw", "Ed", "Eth", "Et",
@@ -68,7 +68,7 @@ static char *human_syllable1[] =
"Tr", "Th", "V", "Y", "Z", "W", "Wic",
};
-static char *human_syllable2[] =
+static const char *human_syllable2[] =
{
"a", "ae", "au", "ao", "are", "ale", "ali", "ay", "ardo", "e", "ei",
"ea", "eri", "era", "ela", "eli", "enda", "erra", "i", "ia", "ie",
@@ -76,7 +76,7 @@ static char *human_syllable2[] =
"ore", "u", "y",
};
-static char *human_syllable3[] =
+static const char *human_syllable3[] =
{
"a", "and", "b", "bwyn", "baen", "bard", "c", "ctred", "cred", "ch",
"can", "d", "dan", "don", "der", "dric", "dfrid", "dus", "f", "g",
@@ -95,7 +95,7 @@ static char *human_syllable3[] =
*/
static void create_random_name(int race, char *name)
{
- char *syl1, *syl2, *syl3;
+ const char *syl1, *syl2, *syl3;
int idx;