RTEMS: cpukit/include/machine/_kernel_param.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
_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 */