5c3c3701e278cac3d79ab818baeb952cc5df3d10 galt Fri Jan 10 00:29:14 2025 -0800 fixing minor void * declare from code review feedback. diff --git src/hg/lib/customFactory.c src/hg/lib/customFactory.c index afe8444..259840a 100644 --- src/hg/lib/customFactory.c +++ src/hg/lib/customFactory.c @@ -4053,31 +4053,31 @@ return setting; return trackDbSetting(ct->tdb, "genome"); } struct paraFetchData { struct paraFetchData *next; struct customTrack *track; struct customFactory *fac; boolean done; }; static pthread_mutex_t pfdMutex = PTHREAD_MUTEX_INITIALIZER; static struct paraFetchData *pfdList = NULL, *pfdRunning = NULL, *pfdDone = NULL, *pfdNeverStarted = NULL; -static void *remoteParallelLoad() +static void *remoteParallelLoad(void *) /* Each thread loads tracks in parallel until all work is done. */ { struct paraFetchData *pfd = NULL; boolean allDone = FALSE; while(1) { pthread_mutex_lock( &pfdMutex ); if (!pfdList) { allDone = TRUE; } else { // move it from the waiting queue to the running queue pfd = slPopHead(&pfdList); slAddHead(&pfdRunning, pfd);