diff --git a/src/cc65/casenode.h b/src/cc65/casenode.h index 19861ce96..785c00552 100644 --- a/src/cc65/casenode.h +++ b/src/cc65/casenode.h @@ -70,16 +70,6 @@ CaseNode* NewCaseNode (unsigned char Value); void FreeCaseNode (CaseNode* N); /* Delete a case node plus all sub nodes */ -#if defined(HAVE_INLINE) -INLINE unsigned CN_GetSubNodeCount (const CaseNode* N) -/* Return the number of subnodes in N */ -{ - return N->Nodes? CollCount (N->Nodes) : 0; -} -#else -# define CN_GetSubNodeCount(N) ((N)->Nodes? CollCount (&(N)->Nodes) : 0) -#endif - #if defined(HAVE_INLINE) INLINE CaseNode* CN_GetSubNode (CaseNode* N, unsigned Index) /* Get a sub node of the given node */