The following issue has been SUBMITTED. ====================================================================== http://austingroupbugs.net/view.php?id=1289 ====================================================================== Reported By: joelsherrill Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1289 Category: Base Definitions and Headers Type: Clarification Requested Severity: Editorial Priority: normal Status: New Name: Joel Sherrill Organization: RTEMS.org User Reference: Section: netdb.h Page Number: First paragraph Line Number: NA - used web Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2019-09-27 19:17 UTC Last Modified: 2019-09-27 19:17 UTC ====================================================================== Summary: netdb.h - in_port_t and in_addr_t do not appear to be needed Description: Ref: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netdb.h.html
In netdb.h, both in_port_t and in_addr_t are “may define” but do not appear to be needed. In discussing this, our assumption is that when this header was added to the standard, at least one implementation defined or needed these two types. They do not appear to be strictly needed. Desired Action: Clarification/update is requested. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2019-09-27 19:17 joelsherrill New Issue 2019-09-27 19:17 joelsherrill Name => Joel Sherrill 2019-09-27 19:17 joelsherrill Organization => RTEMS.org 2019-09-27 19:17 joelsherrill Section => netdb.h 2019-09-27 19:17 joelsherrill Page Number => First paragraph 2019-09-27 19:17 joelsherrill Line Number => NA - used web ======================================================================