hmmlib2 2.0.11: Remove static from compound lit
This permits compilation with older versions of gcc
This commit is contained in:
parent
0d88c24db6
commit
c104500020
|
@ -786,7 +786,7 @@ HMML_Output hmml_parse(const char* string)
|
||||||
return p.out;
|
return p.out;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct _hmml_str prefix = HSTR("[video");
|
const struct _hmml_str prefix = HSTR("[video");
|
||||||
if(strncmp(p.cursor, prefix.ptr, prefix.len)) {
|
if(strncmp(p.cursor, prefix.ptr, prefix.len)) {
|
||||||
_hmml_err(&p, "Missing initial video tag.");
|
_hmml_err(&p, "Missing initial video tag.");
|
||||||
} else {
|
} else {
|
||||||
|
@ -813,7 +813,7 @@ void hmml_free(HMML_Output* out)
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct HMML_Version hmml_version = {
|
const struct HMML_Version hmml_version = {
|
||||||
2, 0, 10
|
2, 0, 11
|
||||||
};
|
};
|
||||||
|
|
||||||
#undef HSTX
|
#undef HSTX
|
||||||
|
|
Loading…
Reference in New Issue