Ticket #2237: ticket2237.diff

File ticket2237.diff, 586 bytes (added by scottmc, 15 years ago)

patch to remove the 3 duplicated declarations listed. Note there might be more hiding in there still.

  • netdb.h

     
    263263                 socklen_t, char *, socklen_t, int));
    264264void        freeaddrinfo __P((struct addrinfo *));
    265265const char  *gai_strerror __P((int));
    266 struct hostent  *getipnodebyname __P((const char *, int, int, int *));
    267 struct hostent  *getipnodebyaddr __P((const void *, size_t, int, int *));
    268 void        freehostent __P((struct hostent *));
    269266
    270267struct hostent  *gethostbyaddr_r __P((const char *, int, int, struct hostent *,
    271268                    char *, int, int *));