'Builds a function definition.'

def _build_function_definition(self, spec, decl, param_decls, body):

    assert ('typedef' not in spec['storage'])
    declaration = self._build_declarations(spec=spec, decls=[dict(decl=decl, init=None)], typedef_namespace=True)[0]
    return c_ast.FuncDef(decl=declaration, param_decls=param_decls, body=body, coord=decl.coord)
