From: cuz Date: Thu, 11 Oct 2001 22:02:00 +0000 (+0000) Subject: Remove an unused function X-Git-Tag: V2.12.0~2553 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b892d4b3d33266dbec2782eaee856f62ea61d00f;p=cc65 Remove an unused function git-svn-id: svn://svn.cc65.org/cc65/trunk@1042 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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 */