Directly use <sys/types.h> provided by Newlib

This commit is contained in:
Sebastian Huber
2016-04-27 10:25:22 +02:00
parent 2017a6df2b
commit 3d1e767c8f
241 changed files with 245 additions and 603 deletions

View File

@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_delete.c 8.13 (Berkeley) 7/28/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>

View File

@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_get.c 8.6 (Berkeley) 7/20/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <errno.h>
#include <stddef.h>

View File

@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)bt_page.c 8.3 (Berkeley) 7/14/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <stdio.h>

View File

@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_put.c 8.8 (Berkeley) 7/26/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>

View File

@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_search.c 8.8 (Berkeley) 7/31/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <stdio.h>

View File

@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_seq.c 8.7 (Berkeley) 7/20/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <errno.h>
#include <stddef.h>

View File

@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_split.c 8.10 (Berkeley) 1/9/95";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <limits.h>

View File

@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)db.c 8.4 (Berkeley) 2/21/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>

View File

@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)rec_close.c 8.6 (Berkeley) 8/18/94";
__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/mman.h>

View File

@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)rec_delete.c 8.7 (Berkeley) 7/14/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>

View File

@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)rec_get.c 8.9 (Berkeley) 8/18/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <errno.h>
#include <stddef.h>

View File

@@ -39,7 +39,7 @@ static char sccsid[] = "@(#)rec_open.c 8.10 (Berkeley) 9/1/94";
__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>

View File

@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)rec_put.c 8.7 (Berkeley) 8/18/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>

View File

@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)rec_search.c 8.4 (Berkeley) 7/14/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>

View File

@@ -36,7 +36,7 @@ static char sccsid[] __unused = "@(#)rec_seq.c 8.3 (Berkeley) 7/14/94";
#endif /* not lint */
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <errno.h>
#include <limits.h>

View File

@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <stdio.h>
#include <stdlib.h>

View File

@@ -24,7 +24,7 @@
#ifndef _EVENTLIB_H
#define _EVENTLIB_H
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/time.h>
#include <stdio.h>

View File

@@ -1,7 +1,7 @@
#ifndef _RESOLV_MT_H
#define _RESOLV_MT_H
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>

View File

@@ -35,7 +35,7 @@
#ifndef _SPINLOCK_H_
#define _SPINLOCK_H_
#include <sys/cdefs.h>
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
/*
* Lock structure with room for debugging information.

View File

@@ -75,7 +75,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netinet/in.h>

View File

@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/nameser.h>

View File

@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/nameser.h>

View File

@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/nameser.h>

View File

@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <ctype.h>

View File

@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@@ -26,7 +26,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/param.h>
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/param.h>
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>

View File

@@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$");
#include "fd_setsize.h"
#endif
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <errno.h>

View File

@@ -27,7 +27,7 @@
#define _EVENTLIB_P_H
#include <rtems/bsd/sys/param.h>
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>

View File

@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>

View File

@@ -27,7 +27,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>

View File

@@ -27,7 +27,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <arpa/nameser.h>
#include <errno.h>
#include <string.h>

View File

@@ -45,7 +45,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>

View File

@@ -42,7 +42,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>

View File

@@ -59,7 +59,7 @@
__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <net/if.h>

View File

@@ -58,7 +58,7 @@ static char fromrcsid[] = "From: Id: gethnamaddr.c,v 8.23 1998/04/07 04:59:46 vi
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@@ -35,7 +35,7 @@
__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/if.h>

View File

@@ -49,7 +49,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <net/if_dl.h>

View File

@@ -46,7 +46,7 @@ static char orig_rcsid[] = "From: Id: getnetent.c,v 8.4 1997/06/01 20:34:37 vixi
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)getprotoent.c 8.1 (Berkeley) 6/4/93";
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/param.h>
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <errno.h>
#include <limits.h>

View File

@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)getservent.c 8.1 (Berkeley) 6/4/93";
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/param.h>
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <db.h>

View File

@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if_dl.h>
#include <net/if.h>

View File

@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if_dl.h>
#include <net/if.h>

View File

@@ -31,7 +31,7 @@
__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/sockio.h>
#include <net/if.h>

View File

@@ -35,7 +35,7 @@
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/param.h>
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)linkaddr.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if_dl.h>
#include <string.h>

View File

@@ -57,7 +57,7 @@ static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)recv.c 8.2 (Berkeley) 2/21/94";
__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stddef.h>

View File

@@ -35,7 +35,7 @@
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/param.h>
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)send.c 8.2 (Berkeley) 2/21/94";
__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stddef.h>

View File

@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <netinet/in.h>
/*

View File

@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/queue.h>
#include <sys/sysctl.h>

View File

@@ -27,7 +27,7 @@
* $FreeBSD$
*/
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>

View File

@@ -56,7 +56,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include "namespace.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/uio.h>

View File

@@ -74,7 +74,7 @@ static const char rcsid[] = "$Id: res_comp.c,v 1.5 2005/07/28 06:51:50 marka Exp
__FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netinet/in.h>
#include <arpa/nameser.h>

View File

@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <sys/time.h>

View File

@@ -100,7 +100,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>

View File

@@ -77,7 +77,7 @@ __FBSDID("$FreeBSD$");
#include "namespace.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <sys/time.h>

View File

@@ -74,7 +74,7 @@ static const char rcsid[] = "$Id: res_mkquery.c,v 1.10 2008/12/11 09:59:00 marka
__FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netinet/in.h>
#include <arpa/nameser.h>

View File

@@ -31,7 +31,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netinet/in.h>

View File

@@ -74,7 +74,7 @@ static const char rcsid[] = "$Id: res_query.c,v 1.11 2008/11/14 02:36:51 marka E
__FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@@ -84,7 +84,7 @@ __FBSDID("$FreeBSD$");
#endif
#include "namespace.h"
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>

View File

@@ -27,7 +27,7 @@
* $FreeBSD$
*/
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>

View File

@@ -38,7 +38,7 @@
* $FreeBSD$
*/
#include <rtems/bsd/sys/types.h> /* for off_t */
#include <sys/types.h> /* for off_t */
#include <pthread.h>
#include <string.h>
#include <wchar.h>

View File

@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>

View File

@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netipsec/ipsec.h>

View File

@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <string.h>

View File

@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <net/pfkeyv2.h>

View File

@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <netipsec/ipsec.h>

View File

@@ -28,7 +28,7 @@
* $FreeBSD$
*/
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/queue.h>
#include "memstat.h"

View File

@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
#include <inttypes.h>

View File

@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <assert.h>
#include <inttypes.h>
#include <stdio.h>