diff options
-rw-r--r-- | sys/alpha/include/endian.h | 3 | ||||
-rw-r--r-- | sys/ia64/include/endian.h | 3 | ||||
-rw-r--r-- | sys/powerpc/include/endian.h | 3 | ||||
-rw-r--r-- | sys/sys/types.h | 1 |
4 files changed, 1 insertions, 9 deletions
diff --git a/sys/alpha/include/endian.h b/sys/alpha/include/endian.h index 67e4540..068f2f4 100644 --- a/sys/alpha/include/endian.h +++ b/sys/alpha/include/endian.h @@ -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)); diff --git a/sys/ia64/include/endian.h b/sys/ia64/include/endian.h index 67e4540..068f2f4 100644 --- a/sys/ia64/include/endian.h +++ b/sys/ia64/include/endian.h @@ -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)); diff --git a/sys/powerpc/include/endian.h b/sys/powerpc/include/endian.h index 97c1bcb..da4f7ef 100644 --- a/sys/powerpc/include/endian.h +++ b/sys/powerpc/include/endian.h @@ -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__)); diff --git a/sys/sys/types.h b/sys/sys/types.h index baae9a3..aefe63c 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -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 */ |