From 55e1cb640211992a433ef3d9b2cce9a606e9428c Mon Sep 17 00:00:00 2001 From: mranney-dd Date: Fri, 7 Jul 2023 09:45:12 -0400 Subject: [PATCH] Update params to make new clang happy --- internal/ccall/dotgen/dotsplines.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/internal/ccall/dotgen/dotsplines.c b/internal/ccall/dotgen/dotsplines.c index ba54f0c..4e9fc60 100644 --- a/internal/ccall/dotgen/dotsplines.c +++ b/internal/ccall/dotgen/dotsplines.c @@ -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; @@ -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;