posix socket: align size of sa_family_t with Linux

Linux defines `sa_family_t` as `unsigned short int`. In order to be compatible with Linux code, RIOT should define it the same way.
pr/gpio
Oleg Hahm 8 years ago
parent 97352463d8
commit 35074a6ad1

@ -94,7 +94,7 @@ extern "C" {
#define SO_TYPE (15) /**< Socket type. */
/** @} */
typedef unsigned int sa_family_t; /**< address family type */
typedef unsigned short sa_family_t; /**< address family type */
/**
* @brief Used to define the socket address.

Loading…
Cancel
Save