]> granicus.if.org Git - graphviz/commitdiff
remove unnecessary prototype
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 30 May 2021 17:01:04 +0000 (10:01 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 18:13:03 +0000 (11:13 -0700)
The definition of dpd_ccw appears before any of its uses, so having a leading
prototype is unnecessary.

lib/pathplan/triang.c

index 4776186edd945fc0d1fdef2d224b2b53eb7c1548..c51e3487bc189f175a009ae7cf4566d853232dc7 100644 (file)
@@ -19,7 +19,6 @@
 #define ISCW  2
 #define ISON  3
 
-static int dpd_ccw(Ppoint_t *, Ppoint_t *, Ppoint_t *);
 static bool dpd_isdiagonal(int, int, Ppoint_t **, int);
 static bool dpd_intersects(Ppoint_t *, Ppoint_t *, Ppoint_t *, Ppoint_t *);
 static bool dpd_between(Ppoint_t *, Ppoint_t *, Ppoint_t *);