From c104500020b9789a686a0ed8d92a91885af120ed Mon Sep 17 00:00:00 2001 From: Matt Mascarenhas Date: Sun, 30 May 2021 23:46:37 +0100 Subject: [PATCH] hmmlib2 2.0.11: Remove static from compound lit This permits compilation with older versions of gcc --- hmmlib2/hmmlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hmmlib2/hmmlib.h b/hmmlib2/hmmlib.h index e3381b3..b35c77f 100644 --- a/hmmlib2/hmmlib.h +++ b/hmmlib2/hmmlib.h @@ -786,7 +786,7 @@ HMML_Output hmml_parse(const char* string) 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)) { _hmml_err(&p, "Missing initial video tag."); } else { @@ -813,7 +813,7 @@ void hmml_free(HMML_Output* out) } const struct HMML_Version hmml_version = { - 2, 0, 10 + 2, 0, 11 }; #undef HSTX