summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-05-11 23:28:51 +0000
committermike <mike@FreeBSD.org>2002-05-11 23:28:51 +0000
commit3ef853a60c9cecff32830b522d44504ec37f7b77 (patch)
treeee5b77113282e51c3391178153c502b6c8712b0d /sys
parent759ec3782f05659ec9470c0a7dedb9f9a56b590a (diff)
downloadFreeBSD-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')
-rw-r--r--sys/netinet/in.h40
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
OpenPOWER on IntegriCloud