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:
Johan Danielsson
1998-03-07 18:02:28 +00:00
parent 724f0db304
commit 177e2519b0

View File

@@ -43,7 +43,7 @@ RCSID("$Id$");
/* Magic to get AIX syscalls to work */
#ifdef _AIX
static int (*Pioctl)(char*, int, void*, int);
static int (*Pioctl)(char*, int, struct ViceIoctl*, int);
static int (*Setpag)(void);
#include "dlfcn.h"
@@ -78,7 +78,8 @@ aix_setup(void)
ptr = dlopen(path, 0);
if(ptr){
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
}