From 177e2519b0f31b5f8309481bef65fe7c0e81c1e8 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sat, 7 Mar 1998 18:02:28 +0000 Subject: [PATCH] Fix type of `Pioctl'. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4559 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/kafs/afssys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/kafs/afssys.c b/lib/kafs/afssys.c index 50c7fe100..70c6feb34 100644 --- a/lib/kafs/afssys.c +++ b/lib/kafs/afssys.c @@ -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 }