From: Matthew Fernandez Date: Thu, 3 Nov 2022 01:25:38 +0000 (-0700) Subject: common: remove unused struct names X-Git-Tag: 7.0.1~5^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df2ba7bd62fb17892ec85dafbe0952718235d2df;p=graphviz common: remove unused struct names --- diff --git a/lib/common/arrows.c b/lib/common/arrows.c index 4e233dc42..4e9258732 100644 --- a/lib/common/arrows.c +++ b/lib/common/arrows.c @@ -45,7 +45,7 @@ #define ARR_MOD_RIGHT (1<<(BITS_PER_ARROW_TYPE+3)) /* No spares */ -typedef struct arrowdir_t { +typedef struct { char *dir; int sflag; int eflag; @@ -59,7 +59,7 @@ static const arrowdir_t Arrowdirs[] = { {0} }; -typedef struct arrowname_t { +typedef struct { char *name; int type; } arrowname_t; @@ -106,7 +106,7 @@ static const arrowname_t Arrownames[] = { {0} }; -typedef struct arrowtype_t { +typedef struct { int type; double lenfact; /* ratio of length of this arrow type to standard arrow */ pointf (*gen) (GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag); /* generator function for type */