]> granicus.if.org Git - graphviz/commitdiff
common: remove unused struct names
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 3 Nov 2022 01:25:38 +0000 (18:25 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 4 Nov 2022 01:14:25 +0000 (18:14 -0700)
lib/common/arrows.c

index 4e233dc428189edd8737512e78b107a4b5c21d2f..4e925873228d77cbe84a58c022932efd0e64aa21 100644 (file)
@@ -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 */