parser: Remove the unused attribute alignment from struct declaration_specifiers_t.
[cparser] / attribute.c
index 78ecc02..40c9009 100644 (file)
@@ -5,6 +5,8 @@
 #include <config.h>
 
 #include <assert.h>
+
+#include "adt/bitfiddle.h"
 #include "adt/strutil.h"
 #include "ast_t.h"
 #include "diagnostic.h"
@@ -158,11 +160,6 @@ type_t *handle_attribute_mode(const attribute_t *attribute, type_t *orig_type)
        return orig_type;
 }
 
-static inline bool is_po2(unsigned x)
-{
-       return (x & (x-1)) == 0;
-}
-
 static void handle_attribute_aligned(const attribute_t *attribute,
                                      entity_t *entity)
 {