1From a76e4659fb5218330832821ba84c651b743d423f Mon Sep 17 00:00:00 2001
2From: Michael Forney <mforney@mforney.org>
3Date: Thu, 28 Oct 2021 11:03:15 -0700
4Subject: [PATCH] Remove unnecessary alignment attribute
5
6This was added just to silence a gcc warning. css_rules are always
7embedded into outer structs, so the cast is perfectly fine.
8---
9 src/stylesheet.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/stylesheet.h b/src/stylesheet.h
13index a71fca6..24be8bf 100644
14--- a/src/stylesheet.h
15+++ b/src/stylesheet.h
16@@ -121,7 +121,7 @@ struct css_rule {
17 uint16_t items; /**< number of items (selectors) in rule */
18 uint8_t type; /**< css_rule_type */
19 uint8_t ptype; /**< css_rule_parent_type */
20-} _ALIGNED;
21+};
22
23 typedef struct css_rule_selector {
24 css_rule base;
25--
262.32.0
27