+/* Container for an allocated parser token's value */
+struct parse_item {
+ union {
+ struct cdecl_declarator declarator;
+ struct cdecl_declspec declspec;
+ struct cdecl decl;
+ } u;
+
+ char s[FLEXIBLE_ARRAY_MEMBER];
+};
+
+struct parse_item *cdecl__alloc_item(size_t s_sz);
+
+/*
+ * GCC enables -finline-small-functions in most optimization modes; this works
+ * on a highlevel estimate of how big a function actually is and occasionally
+ * this produces really bad results.
+ *
+ * While old versions of GCC do not support this attribute the result seems
+ * to be merely a warning so hopefully we can get away with this check and
+ * save a configure test.
+ */
+#ifndef CDECL__NOINLINE
+# if __GNUC__
+# define CDECL__NOINLINE __attribute__((__noinline__))
+# else
+# define CDECL__NOINLINE /**/
+# endif
+#endif
+