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:
parent
428223ee80
commit
10f2382561
1 changed files with 3 additions and 3 deletions
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue