From 660da67e3b08d3801cbd3841ac67e394619e5e58 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 31 Jul 2022 14:53:03 +0200 Subject: [PATCH] patterns: Removed [[static]] attribute from ARFile struct --- patterns/ar.hexpat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patterns/ar.hexpat b/patterns/ar.hexpat index f3ae55f..9c754b2 100644 --- a/patterns/ar.hexpat +++ b/patterns/ar.hexpat @@ -17,9 +17,9 @@ struct ARFile { u8 data[std::string::parse_int(this.file_size, 10)]; padding[sizeof(data) & 1]; } -} [[static]]; +}; char signature[8] @ 0x00; std::assert(signature == "!\n", "File is not a valid archive!"); -ARFile files[while($ < std::mem::size())] @ $; \ No newline at end of file +ARFile files[while($ < std::mem::size())] @ $;