Skip to content

Commit

Permalink
Update params to make new clang happy (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
mranney-dd authored Dec 13, 2023
1 parent 865af03 commit 4bf8930
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions internal/ccall/dotgen/dotsplines.c
Original file line number Diff line number Diff line change
Expand Up @@ -2307,9 +2307,7 @@ static void recover_slack(edge_t * e, path * p)
}
}

static void resize_vn(vn, lx, cx, rx)
node_t *vn;
int lx, cx, rx;
static void resize_vn(node_t * vn, int lx, int cx, int rx)
{
ND_coord(vn).x = cx;
ND_lw(vn) = cx - lx, ND_rw(vn) = rx - cx;
Expand Down Expand Up @@ -2501,9 +2499,7 @@ _neighbor(graph_t* g, node_t *vn, edge_t *ie, edge_t *oe, int dir)
return rv;
}

static boolean pathscross(n0, n1, ie1, oe1)
node_t *n0, *n1;
edge_t *ie1, *oe1;
static boolean pathscross(node_t * n0, node_t * n1, edge_t * ie1, edge_t * oe1)
{
edge_t *e0, *e1;
node_t *na, *nb;
Expand Down

0 comments on commit 4bf8930

Please sign in to comment.