When calling through a function pointer in C, you do not need to explicitly
dereference it. The compiler understands how to deal with these addressing
complications.
edgeinit();
siteinit();
PQinitialize();
- bottomsite = (*nextsite) ();
+ bottomsite = nextsite();
#ifdef STANDALONE
out_site(bottomsite);
#endif
ELinitialize();
- newsite = (*nextsite) ();
+ newsite = nextsite();
while (1) {
if (!PQempty())
newintstar = PQ_min();
ELinsert(lbnd, bisector);
if ((p = hintersect(bisector, rbnd)) != NULL)
PQinsert(bisector, p, dist(p, newsite));
- newsite = (*nextsite) ();
+ newsite = nextsite();
} else if (!PQempty()) {
/* intersection is smallest */
lbnd = PQextractmin();