diff --git a/src/cc65/datatype.c b/src/cc65/datatype.c index 901e2ce13..393177897 100644 --- a/src/cc65/datatype.c +++ b/src/cc65/datatype.c @@ -948,20 +948,6 @@ Type* Indirect (Type* T) -const Type* IndirectConst (const Type* T) -/* Do one indirection for the given type, that is, return the type where the -** given type points to. -*/ -{ - /* We are expecting a pointer expression */ - CHECK (IsClassPtr (T)); - - /* Skip the pointer or array token itself */ - return T + 1; -} - - - Type* ArrayToPtr (Type* T) /* Convert an array to a pointer to it's first element */ { diff --git a/src/cc65/datatype.h b/src/cc65/datatype.h index 77dad47ac..de4314347 100644 --- a/src/cc65/datatype.h +++ b/src/cc65/datatype.h @@ -353,11 +353,6 @@ Type* Indirect (Type* T); ** given type points to. */ -const Type* IndirectConst (const Type* T); -/* Do one indirection for the given type, that is, return the type where the -** given type points to. -*/ - Type* ArrayToPtr (Type* T); /* Convert an array to a pointer to it's first element */