git: <arpa/inet.h>: Some cleanups.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Mar 3 08:25:32 PST 2018


commit dab9342fee9d089ccf4ff0392156e9ad4390e9b9
Author: Sascha Wildner <saw at online.de>
Date:   Sat Mar 3 16:42:06 2018 +0100

    <arpa/inet.h>: Some cleanups.
    
    * Stop defining struct in6_addr. This doesn't belong here, and it was
      originally only added because of some issue in pkgsrc. Thanks to
      Sevan Janiyan for confirming that this no longer occurs.
    
    * Incude <stdint.h> instead of the full <sys/types.h> and define
      in_addr_t and in_port_t per POSIX.
    
    * Put inet_ntoa_r under __BSD_VISIBLE.
    
    * Remove an obsolete comment.

Summary of changes:
 include/arpa/inet.h | 34 ++++++++++++++++++++--------------
 sys/sys/types.h     |  6 ++++++
 2 files changed, 26 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dab9342fee9d089ccf4ff0392156e9ad4390e9b9


-- 
DragonFly BSD source repository



More information about the Commits mailing list