static placement warning

<Someone> complained that his compiler was giving these
two warnings:

weapon.c:835: warning: `static' is not at beginning of declaration
version.c:132: warning: `static' is not at beginning of declaration
This commit is contained in:
nethack.allison
2004-12-16 00:08:41 +00:00
parent 5a433fe0e0
commit 9bc23ab484
2 changed files with 2 additions and 2 deletions

View File

@@ -130,7 +130,7 @@ void
store_version(fd)
int fd;
{
const static struct version_info version_data = {
static const struct version_info version_data = {
VERSION_NUMBER, VERSION_FEATURES,
VERSION_SANITY1, VERSION_SANITY2, VERSION_SANITY3
};

View File

@@ -850,7 +850,7 @@ int skill;
P_NAME(skill));
}
const static struct skill_range {
static const struct skill_range {
short first, last;
const char *name;
} skill_ranges[] = {