Directly use <machine/endian.h> provided by Newlib

This commit is contained in:
Sebastian Huber
2016-04-27 10:28:49 +02:00
parent b6f6deb883
commit 04762cf575
5 changed files with 4 additions and 118 deletions

View File

@@ -40,7 +40,7 @@
#ifndef __rtems__
#include <machine/endian.h>
#else /* __rtems__ */
#include <machine/rtems-bsd-endian.h>
#include <machine/endian.h>
#endif /* __rtems__ */
#if !defined(_BYTE_ORDER) || \

View File

@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
#else
#include <string.h>
#endif
#include <machine/rtems-bsd-endian.h>
#include <machine/endian.h>
#include <crypto/sha2/sha2.h>
/*

View File

@@ -26,6 +26,6 @@
#ifndef _ATALK_ENDIAN_H_
#define _ATALK_ENDIAN_H_
#include <machine/rtems-bsd-endian.h>
#include <machine/endian.h>
#endif /* !_ATALK_ENDIAN_H_ */

View File

@@ -38,7 +38,7 @@
#ifndef __rtems__
#include <machine/endian.h>
#else /* __rtems__ */
#include <machine/rtems-bsd-endian.h>
#include <machine/endian.h>
#endif /* __rtems__ */
/* Protocols common to RFC 1700, POSIX, and X/Open. */