struct dso was not defined in this case, and it's not needed in the
code that was using it anyway; void pointers work just as well.
return p;
}
-static int invalid_dso_handle(struct dso *h)
+static int invalid_dso_handle(void *h)
{
struct dso *p;
for (p=head; p; p=p->next) if (h==p) return 0;
return ret;
}
#else
-static int invalid_dso_handle(struct dso *h)
+static int invalid_dso_handle(void *h)
{
snprintf(errbuf, sizeof errbuf, "Invalid library handle %p", (void *)h);
errflag = 1;