1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

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++;
}