logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0001-Remove-unnecessary-alignment-attribute.patch (809B)


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