+ type_t *type = skip_typeref(entity->declaration.type);
+ assert(is_type_function(type));
+
+ if (entity->declaration.modifiers & DM_DLLIMPORT)
+ /* add prefix for imported symbols */
+ obstack_printf(o, "__imp_");
+
+ cc_kind_t cc = type->function.calling_convention;