diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 223d04a07..bc5d0dbe6 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2006-03-29 Shaun Jackman + + * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to + match sys/ioctl.h. + 2006-03-29 Shaun Jackman * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for diff --git a/newlib/libc/sys/linux/sys/ioccom.h b/newlib/libc/sys/linux/sys/ioccom.h index 4a063e973..e656d5ef6 100644 --- a/newlib/libc/sys/linux/sys/ioccom.h +++ b/newlib/libc/sys/linux/sys/ioccom.h @@ -67,7 +67,7 @@ #include __BEGIN_DECLS -int ioctl(int, unsigned long, ...); +int ioctl(int __fd, int __request, ...); __END_DECLS #endif