acadia-newlib/newlib/libc/include/sys
Corinna Vinschen b1b46d4580 Drop usage of old-age BSD types in generically used Cygwin headers
u_char, u_short, u_int, u_long are BSD-only types.  Remove them from
Cygwin headers which are supposed to be used in a non-BSD scenario.
Drop special Cygwin handling of those types in sys/types.h.

newlib:
	* libc/include/sys/types.h (u_char,u_short,u_int,u_long): Drop
	Cygwin exception.

cygwin:
	* fhandler_socket.cc (fhandler_socket::ioctl): Accommodate change
	in include/asm/socket.h.  Continue using u_long since that's the
	MS type here.
	* include/asm/socket.h: Since the type given in _IOR/_IOW macros
	is only used for its sizeof, replace u_long with equivalent long.
	* netdb.h (getnetbyaddr): Fix prototype.
	* netinet/ip.h: Replace old BSD-only types with generically defined
	old BSD types (u_char -> u_int8_t, etc).
	* netinet/tcp.h: Ditto.
	* netinet/udp.h: Ditto.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-03-24 15:55:25 +01:00
..
_default_fcntl.h Feature test macros overhaul: fcntl.h 2016-03-17 21:08:53 -05:00
_intsup.h Extend _intsup.h to support 16-bit and 20-bit pointers. 2015-10-19 14:48:30 +01:00
_sigset.h FreeBSD compatibility for <sys/select.h> 2015-12-14 15:39:44 +01:00
_stdint.h Add <sys/_stdint.h> for FreeBSD compatibility 2015-04-23 21:57:10 +02:00
_timespec.h Add and use latest <sys/timespec.h> from FreeBSD 2015-03-11 15:45:38 +01:00
_timeval.h Merge parts of <sys/time.h> from FreeBSD 2015-03-13 13:17:34 +01:00
_types.h 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-10-15 17:38:32 +00:00
cdefs.h Feature test macros overhaul: sys/features.h 2016-03-17 21:06:40 -05:00
config.h Feature test macros overhaul: sys/features.h 2016-03-17 21:06:40 -05:00
custom_file.h 2007-02-01 Joel Schopp <jschopp@austin.ibm.com> 2007-02-01 16:33:05 +00:00
dir.h * libc/include/sys/dir.h: New BSD-compatibility header. 2010-08-11 18:14:54 +00:00
dirent.h 2005-10-04 James E Wilson <wilson@specifix.com> 2005-10-04 20:47:39 +00:00
errno.h * libc/include/sys/errno.h: Fix comments. 2014-07-14 13:40:17 +00:00
fcntl.h 2007-11-15 Jeff Johnston <jjohnstn@redhat.com> 2007-12-19 18:49:17 +00:00
features.h Feature test macros overhaul: C++ TR1 2016-03-23 16:14:00 -05:00
file.h
iconvnls.h 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru> 2004-09-13 17:10:20 +00:00
lock.h 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
param.h Move fd_stuff from sys/types.h to sys/select.h 2015-12-07 16:28:22 +01:00
queue.h * libc/sys/rtems/sys/queue.h: Delete file. 2013-04-16 10:25:16 +00:00
reent.h Add _REENT_INIT_PTR_ZEROED() 2015-12-14 15:44:28 +01:00
resource.h 2014-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> 2014-11-24 14:12:32 +00:00
sched.h Add and use latest <sys/timespec.h> from FreeBSD 2015-03-11 15:45:38 +01:00
select.h Feature test macros overhaul: sys/select.h 2016-03-17 21:09:15 -05:00
signal.h Feature test macros overhaul: signal.h (part 2) 2016-03-18 11:22:32 -05:00
stat.h Feature test macros overhaul: sys/stat.h 2016-03-17 21:09:16 -05:00
stdio.h * libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos. 2009-01-08 00:01:33 +00:00
string.h 2005-01-24 Jeff Johnston <jjohnstn@redhat.com> 2005-01-24 18:46:09 +00:00
syslimits.h
time.h Feature test macros overhaul: sys/time.h 2016-03-17 21:09:18 -05:00
timeb.h
times.h Throughout, run newlib with -Wall -Werror option and fix bugs and 2012-08-08 11:04:18 +00:00
timespec.h Add and use latest <sys/timespec.h> from FreeBSD 2015-03-11 15:45:38 +01:00
tree.h Import <sys/tree.h> from FreeBSD 2015-04-23 21:57:06 +02:00
types.h Drop usage of old-age BSD types in generically used Cygwin headers 2016-03-24 15:55:25 +01:00
unistd.h Add arc4random() etc. from OpenBSD 5.8 2016-03-18 12:33:41 +01:00
utime.h
wait.h Fix comment in sys/wait.h 2015-05-28 16:40:43 +02:00