dtksh/findsym.c: fix compiler warnings

This commit is contained in:
Chase
2021-01-01 14:36:36 -06:00
committed by Jon Trulson
parent 428223ee80
commit 10f2382561

View File

@@ -50,20 +50,20 @@
* as requested by a DtLoadWidget request.
*/
unsigned long
void *
fsym(
char *str,
int lib )
{
int i = 0;
long addr;
void * addr;
if (liblist == NULL)
return (NULL);
while (liblist[i].dll)
{
if (addr = dlsym(liblist[i].dll, str))
return((unsigned long)addr);
return(addr);
i++;
}