This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] ioccom.h: ioctl declaration


2006-03-20  Shaun Jackman  <sjackman@gmail.com>

	* libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
	match sys/ioctl.h.

Index: libc/sys/linux/sys/ioccom.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/sys/linux/sys/ioccom.h,v
retrieving revision 1.1
diff -u -r1.1 ioccom.h
--- libc/sys/linux/sys/ioccom.h	28 May 2003 22:04:40 -0000	1.1
+++ libc/sys/linux/sys/ioccom.h	20 Mar 2006 21:41:34 -0000
@@ -67,7 +67,7 @@
 #include <sys/cdefs.h>

 __BEGIN_DECLS
-int	ioctl(int, unsigned long, ...);
+int ioctl(int fd,int request,...);
 __END_DECLS

 #endif

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]