Ticket #2237 (new bug)

Opened 6 months ago

Last modified 6 months ago

Multiple declarations in posix/netdb.h

Reported by: kaliber Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

For example line: struct hostent *getipnodebyname P((const char *, int, int, int *)); is declared two times.

Attachments

ticket2237.diff (0.6 kB) - added by scottmc 13 days ago.
patch to remove the 3 duplicated declarations listed. Note there might be more hiding in there still.

Change History

Changed 6 months ago by scottmc

I see *getipnodebyaddr duped as well, are there any others?

Changed 6 months ago by kaliber

And there is also:

void		freehostent __P((struct hostent *));

I don't know why it's duped. Maybe it should be freehostent_r insted of freehostent?

Changed 13 days ago by scottmc

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

Note: See TracTickets for help on using tickets.