include/sys/param.h: Add a dummy sys/param.h header file. This is not a standard file but is used by other systems and having the dummy file may minimize some porting efforts.

This commit is contained in:
Gregory Nutt
2018-08-19 08:24:30 -06:00
parent ed4aae0fe0
commit f20a2b4dcd
2 changed files with 65 additions and 1 deletions
+10 -1
View File
@@ -97,7 +97,16 @@ extern "C"
#define EXTERN extern
#endif
/* Functions to convert between nost and network byte ordering */
/* Functions to convert between host and network byte ordering.
*
* REVISIT: Since network order is defined as big-endian, the following
* functions are equivalent to functions declared in endian.h:
*
* htonl htobe32
* htons htobe16
* ntohl be32toh
* ntohs be16toh
*/
uint32_t ntohl(uint32_t nl);
uint16_t ntohs(uint16_t ns);