summaryrefslogtreecommitdiff
path: root/firmware/external
diff options
context:
space:
mode:
authorHeather Lee Wilson <hwilson@google.com>2015-04-22 14:38:23 -0700
committerHeather Lee Wilson <hwilson@google.com>2015-04-22 14:38:23 -0700
commitf0aaff5508b8acd360005e2404676e0563574afa (patch)
treee865fa25733f780e8009a0a57ee6bf919155436c /firmware/external
parent1d8d8214d48f5a1c24e9e0ce47c115fe794fe284 (diff)
downloadcontexthub-f0aaff5508b8acd360005e2404676e0563574afa.tar.gz
Remove redefinition of u-types from external FreeBSD header file
Change-Id: I369498e25711058bce5bbb3ee64791c95ab76b30
Diffstat (limited to 'firmware/external')
-rw-r--r--firmware/external/freebsd/inc/sys/endian.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/firmware/external/freebsd/inc/sys/endian.h b/firmware/external/freebsd/inc/sys/endian.h
index abe8b745..ceeaeae5 100644
--- a/firmware/external/freebsd/inc/sys/endian.h
+++ b/firmware/external/freebsd/inc/sys/endian.h
@@ -30,31 +30,7 @@
#define _SYS_ENDIAN_H_
#include <sys/cdefs.h>
-#ifdef PLAT_HAS_NO_U_TYPES_H
- #include <stdint.h>
-#else
- #include <sys/_types.h>
- #include <machine/endian.h>
- #ifndef _UINT8_T_DECLARED
- typedef __uint8_t uint8_t;
- #define _UINT8_T_DECLARED
- #endif
-
- #ifndef _UINT16_T_DECLARED
- typedef __uint16_t uint16_t;
- #define _UINT16_T_DECLARED
- #endif
-
- #ifndef _UINT32_T_DECLARED
- typedef __uint32_t uint32_t;
- #define _UINT32_T_DECLARED
- #endif
-
- #ifndef _UINT64_T_DECLARED
- typedef __uint64_t uint64_t;
- #define _UINT64_T_DECLARED
- #endif
-#endif
+#include <stdint.h>
/*
* General byte order swapping functions.