Unbreak build on alpha.
- Move in_port_t to sys/types.h. - Nuke in_addr_t from each endian.h. Reported by: jhb
This commit is contained in:
parent
465f853f3d
commit
d26371de82
@ -59,9 +59,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
typedef u_int32_t in_addr_t;
|
||||
typedef u_int16_t in_port_t;
|
||||
|
||||
__BEGIN_DECLS
|
||||
in_addr_t htonl __P((in_addr_t));
|
||||
in_port_t htons __P((in_port_t));
|
||||
|
@ -59,9 +59,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
typedef u_int32_t in_addr_t;
|
||||
typedef u_int16_t in_port_t;
|
||||
|
||||
__BEGIN_DECLS
|
||||
in_addr_t htonl __P((in_addr_t));
|
||||
in_port_t htons __P((in_port_t));
|
||||
|
@ -58,9 +58,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
typedef u_int32_t in_addr_t;
|
||||
typedef u_int16_t in_port_t;
|
||||
|
||||
__BEGIN_DECLS
|
||||
in_addr_t htonl __P((in_addr_t)) __attribute__((__const__));
|
||||
in_port_t htons __P((in_port_t)) __attribute__((__const__));
|
||||
|
@ -74,6 +74,7 @@ typedef u_int32_t u_daddr_t; /* unsigned disk address */
|
||||
typedef u_int32_t fixpt_t; /* fixed point number */
|
||||
typedef u_int32_t gid_t; /* group id */
|
||||
typedef u_int32_t in_addr_t; /* base type for internet address */
|
||||
typedef u_int16_t in_port_t;
|
||||
typedef u_int32_t ino_t; /* inode number */
|
||||
typedef long key_t; /* IPC key (for Sys V IPC) */
|
||||
typedef u_int16_t mode_t; /* permissions */
|
||||
|
Loading…
Reference in New Issue
Block a user