def pointerize(decl: str, name: str) ->str:
    """Given a C decl and its name, modify it to be a declaration to a pointer."""
    if '(' in decl:
        return decl.replace(name, '(*{})'.format(name))
    else:
        return decl.replace(name, '*{}'.format(name))
