[Libsysio-commit] LLNL_HPSS: libsysio/drivers/sockets sockets.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2005-09-06 14:35:42
|
Update of /cvsroot/libsysio/libsysio/drivers/sockets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4186/drivers/sockets Modified Files: Tag: LLNL_HPSS sockets.c Log Message: POSIX defines the ioctl request to be of type `int' and not `unsigned long int' as we had it. Fixed. Index: sockets.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/drivers/sockets/sockets.c,v retrieving revision 1.14 retrieving revision 1.14.2.1 diff -u -w -b -B -p -r1.14 -r1.14.2.1 --- sockets.c 25 Jan 2005 18:16:01 -0000 1.14 +++ sockets.c 6 Sep 2005 14:35:32 -0000 1.14.2.1 @@ -105,7 +105,7 @@ static int sockets_inop_sync(struct inod static int sockets_inop_datasync(struct inode *ino); static int sockets_inop_fcntl(struct inode *ino, int cmd, va_list ap, int *rtn); static int sockets_inop_ioctl(struct inode *ino, - unsigned long int request, + int request, va_list ap); static void sockets_inop_gone(struct inode *ino); static void sockets_illop(void); @@ -314,7 +314,7 @@ sockets_inop_datasync(struct inode *ino) */ static int sockets_inop_ioctl(struct inode *ino, - unsigned long int request, + int request, va_list ap) { long arg1, arg2, arg3, arg4; @@ -332,7 +332,7 @@ sockets_inop_ioctl(struct inode *ino, #else static int sockets_inop_ioctl(struct inode *ino __IS_UNUSED, - unsigned long int request __IS_UNUSED, + int request __IS_UNUSED, va_list ap __IS_UNUSED) { /* |