projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix implicit function declaration on Android
[fio.git]
/
os
/
os-netbsd.h
diff --git
a/os/os-netbsd.h
b/os/os-netbsd.h
index 1753226e5512eaa22fcc4283056181f771730fe5..4b0269e6cab673311576689d514db5b09d49d822 100644
(file)
--- a/
os/os-netbsd.h
+++ b/
os/os-netbsd.h
@@
-6,7
+6,6
@@
#include <errno.h>
#include <lwp.h>
#include <sys/param.h>
#include <errno.h>
#include <lwp.h>
#include <sys/param.h>
-#include <sys/endian.h>
/* XXX hack to avoid confilcts between rbtree.h and <sys/rb.h> */
#define rb_node _rb_node
#include <sys/sysctl.h>
/* XXX hack to avoid confilcts between rbtree.h and <sys/rb.h> */
#define rb_node _rb_node
#include <sys/sysctl.h>
@@
-30,12
+29,6
@@
#define PTHREAD_STACK_MIN 4096
#endif
#define PTHREAD_STACK_MIN 4096
#endif
-#if BYTE_ORDER == LITTLE_ENDIAN
-#define FIO_LITTLE_ENDIAN
-#else
-#define FIO_BIG_ENDIAN
-#endif
-
#define fio_swap16(x) bswap16(x)
#define fio_swap32(x) bswap32(x)
#define fio_swap64(x) bswap64(x)
#define fio_swap16(x) bswap16(x)
#define fio_swap32(x) bswap32(x)
#define fio_swap64(x) bswap64(x)