- if (storage)
- ret += output(buf, n, ret, "%s", storage);
- if (funcmap & (1ul << (CDECL_FUNC_INLINE & 0xff)))
- ret += output(buf, n, ret, "%.*s%s", !!ret, "", "inline");
- return ret;
-}
-
-/* Renders the name of the thing being declared. */
-static size_t
-explain_prologue(char *buf, size_t n, struct cdecl_declarator *d)
-{
- while (d) {
- if (d->type == CDECL_DECL_IDENT) {
- if (!d->u.ident)
- return snprintf(buf, n, "type");
- return snprintf(buf, n, "declare %s as", d->u.ident);
- }
- d = d->child;
- }
-}
-
-static size_t
-explain_pointer(char *buf, size_t n, struct cdecl_pointer *p)
-{
- size_t ret = 0, rc;