[Libsysio-commit] LLNL_HPSS: libsysio/include dev.h inode.h sysio.h
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2005-09-06 14:35:42
|
Update of /cvsroot/libsysio/libsysio/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4186/include Modified Files: Tag: LLNL_HPSS dev.h inode.h sysio.h Log Message: POSIX defines the ioctl request to be of type `int' and not `unsigned long int' as we had it. Fixed. Index: dev.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/dev.h,v retrieving revision 1.10 retrieving revision 1.10.2.1 diff -u -w -b -B -p -r1.10 -r1.10.2.1 --- dev.h 4 Aug 2005 20:17:10 -0000 1.10 +++ dev.h 6 Sep 2005 14:35:32 -0000 1.10.2.1 @@ -130,7 +130,7 @@ extern const struct inode_ops _sysio_nod (int (*)(struct inode *))_sysio_do_ebadf #define _sysio_nodev_inop_ioctl \ (int (*)(struct inode *, \ - unsigned long int, \ + int, \ va_list))_sysio_do_ebadf #define _sysio_nodev_inop_mknod \ (int (*)(struct pnode *, \ Index: inode.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/inode.h,v retrieving revision 1.25 retrieving revision 1.25.2.1 diff -u -w -b -B -p -r1.25 -r1.25.2.1 --- inode.h 4 Aug 2005 20:17:10 -0000 1.25 +++ inode.h 6 Sep 2005 14:35:32 -0000 1.25.2.1 @@ -106,7 +106,7 @@ struct inode_ops { int (*inop_fcntl)(struct inode *ino, int cmd, va_list ap, int *rtn); int (*inop_sync)(struct inode *ino); int (*inop_datasync)(struct inode *ino); - int (*inop_ioctl)(struct inode *ino, unsigned long int request, va_list ap); + int (*inop_ioctl)(struct inode *ino, int request, va_list ap); int (*inop_mknod)(struct pnode *pno, mode_t mode, dev_t dev); #ifdef _HAVE_STATVFS int (*inop_statvfs)(struct pnode *pno, Index: sysio.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/sysio.h,v retrieving revision 1.34 retrieving revision 1.34.2.1 diff -u -w -b -B -p -r1.34 -r1.34.2.1 --- sysio.h 23 Feb 2005 01:43:08 -0000 1.34 +++ sysio.h 6 Sep 2005 14:35:32 -0000 1.34.2.1 @@ -254,7 +254,7 @@ extern int SYSIO_INTERFACE_NAME(unlink)( extern int SYSIO_INTERFACE_NAME(rename)(const char *oldpath, const char *newpath); extern int SYSIO_INTERFACE_NAME(fdatasync)(int fd); -extern int SYSIO_INTERFACE_NAME(ioctl)(int fd, unsigned long request, ...); +extern int SYSIO_INTERFACE_NAME(ioctl)(int fd, int request, ...); extern mode_t SYSIO_INTERFACE_NAME(umask)(mode_t mask); extern int SYSIO_INTERFACE_NAME(mknod)(const char *path, mode_t mode, dev_t dev); |