return 0;
}
-static long
-pioctl_int(char *pathp, long opcode, struct ViceIoctl *blobp, int follow, int is_utf8)
+static int
+pioctl_int(char *pathp, afs_int32 opcode, struct ViceIoctl *blobp, afs_int32 follow, afs_int32 is_utf8)
{
fs_ioctlRequest_t preq;
long code;
return 0;
}
-long
-pioctl_utf8(char * pathp, long opcode, struct ViceIoctl * blobp, int follow)
+int
+pioctl_utf8(char * pathp, afs_int32 opcode, struct ViceIoctl * blobp, afs_int32 follow)
{
return pioctl_int(pathp, opcode, blobp, follow, TRUE);
}
-long
-pioctl(char * pathp, long opcode, struct ViceIoctl * blobp, int follow)
+int
+pioctl(char * pathp, afs_int32 opcode, struct ViceIoctl * blobp, afs_int32 follow)
{
return pioctl_int(pathp, opcode, blobp, follow, FALSE);
}
/* Fake error code since NT errno.h doesn't define it */
#include <afs/errmap_nt.h>
-extern long pioctl(char *pathp, long opcode, struct ViceIoctl *blob,
- int follow);
+extern int pioctl(char *pathp, afs_int32 opcode, struct ViceIoctl *blob,
+ afs_int32 follow);
-extern long pioctl_utf8(char *pathp, long opcode, struct ViceIoctl *blob,
- int follow);
+extern int pioctl_utf8(char *pathp, afs_int32 opcode, struct ViceIoctl *blob,
+ afs_int32 follow);
#endif /* OPENAFS_AFS_PIOCTL_H */