RTEMS
_kernel_param.h
1 #include <sys/cdefs.h>
2 #include <sys/errno.h>
3 #include <sys/time.h>
4 #include <sys/priority.h>
5 
6 #ifndef FALSE
7 #define FALSE 0
8 #endif
9 #ifndef TRUE
10 #define TRUE 1
11 #endif
12 
13 #ifndef _BYTEORDER_PROTOTYPED
14 #define _BYTEORDER_PROTOTYPED
15 __BEGIN_DECLS
16 __uint32_t htonl(__uint32_t);
17 __uint16_t htons(__uint16_t);
18 __uint32_t ntohl(__uint32_t);
19 __uint16_t ntohs(__uint16_t);
20 __END_DECLS
21 #endif
22 
23 #ifndef _BYTEORDER_FUNC_DEFINED
24 #define _BYTEORDER_FUNC_DEFINED
25 #define htonl(x) __htonl(x)
26 #define htons(x) __htons(x)
27 #define ntohl(x) __ntohl(x)
28 #define ntohs(x) __ntohs(x)
29 #endif /* !_BYTEORDER_FUNC_DEFINED */