diff options
author | mike <mike@FreeBSD.org> | 2002-05-11 23:28:51 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-05-11 23:28:51 +0000 |
commit | 3ef853a60c9cecff32830b522d44504ec37f7b77 (patch) | |
tree | ee5b77113282e51c3391178153c502b6c8712b0d /sys/netinet/in.h | |
parent | 759ec3782f05659ec9470c0a7dedb9f9a56b590a (diff) | |
download | FreeBSD-src-3ef853a60c9cecff32830b522d44504ec37f7b77.zip FreeBSD-src-3ef853a60c9cecff32830b522d44504ec37f7b77.tar.gz |
Remove some duplicate types that should have been removed as part of
the rearranging in the previous revision.
Pointy hat to: cvs update (merging), mike (for not noticing)
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r-- | sys/netinet/in.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 6a5a317..282415d 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -312,46 +312,6 @@ __END_DECLS #define IPPORT_MAX 65535 -#ifndef _UINT8_T_DECLARED -typedef __uint8_t uint8_t; -#define _UINT8_T_DECLARED -#endif - -#ifndef _UINT16_T_DECLARED -typedef __uint16_t uint16_t; -#define _UINT16_T_DECLARED -#endif - -#ifndef _UINT32_T_DECLARED -typedef __uint32_t uint32_t; -#define _UINT32_T_DECLARED -#endif - -#ifndef _IN_ADDR_T_DECLARED -typedef uint32_t in_addr_t; -#define _IN_ADDR_T_DECLARED -#endif - -#ifndef _IN_PORT_T_DECLARED -typedef uint16_t in_port_t; -#define _IN_PORT_T_DECLARED -#endif - -#ifdef _BSD_SA_FAMILY_T_ -typedef _BSD_SA_FAMILY_T_ sa_family_t; -#undef _BSD_SA_FAMILY_T_ -#endif - -/* - * Internet address (a structure for historical reasons) - */ -#ifndef _STRUCT_IN_ADDR_DECLARED -struct in_addr { - in_addr_t s_addr; -}; -#define _STRUCT_IN_ADDR_DECLARED -#endif - /* * Definitions of bits in internet address integers. * On subnets, the decomposition of addresses to host and net parts |