+#include "cdecl-internal.h"
+
+#define PRE_SPECS (CDECL_SPEC_FUNC|CDECL_SPEC_STOR)
+#define POST_SPECS (CDECL_SPEC_QUAL|CDECL_SPEC_TYPE)
+
+static size_t explain_specs(struct output_state *dst, struct cdecl_declspec *s, unsigned mask)
+{
+ size_t ret;
+
+ ret = cdecl__emit_specs(dst, s, mask);
+ return ret + cdecl__emit(dst, " " + !ret);
+}
+
+static size_t
+explain_specs_post(struct output_state *dst, struct cdecl_declspec *s)
+{
+ return cdecl__emit_specs(dst, s, POST_SPECS);
+}