Fix type of `Pioctl'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4559 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -43,7 +43,7 @@ RCSID("$Id$");
|
|||||||
/* Magic to get AIX syscalls to work */
|
/* Magic to get AIX syscalls to work */
|
||||||
#ifdef _AIX
|
#ifdef _AIX
|
||||||
|
|
||||||
static int (*Pioctl)(char*, int, void*, int);
|
static int (*Pioctl)(char*, int, struct ViceIoctl*, int);
|
||||||
static int (*Setpag)(void);
|
static int (*Setpag)(void);
|
||||||
|
|
||||||
#include "dlfcn.h"
|
#include "dlfcn.h"
|
||||||
@@ -78,7 +78,8 @@ aix_setup(void)
|
|||||||
ptr = dlopen(path, 0);
|
ptr = dlopen(path, 0);
|
||||||
if(ptr){
|
if(ptr){
|
||||||
Setpag = (int (*)(void))dlsym(ptr, "aix_setpag");
|
Setpag = (int (*)(void))dlsym(ptr, "aix_setpag");
|
||||||
Pioctl = (int (*)(char*, int, void*, int))dlsym(ptr, "aix_pioctl");
|
Pioctl = (int (*)(char*, int,
|
||||||
|
struct ViceIoctl*, int))dlsym(ptr, "aix_pioctl");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user