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:
@@ -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
|
||||
};
|
||||
|
||||
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user