Opened 17 years ago

Closed 16 years ago

#2237 closed bug (fixed)

Multiple declarations in posix/netdb.h

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

Description

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

Attachments (1)

ticket2237.diff (586 bytes ) - added by scottmc 16 years ago.
patch to remove the 3 duplicated declarations listed. Note there might be more hiding in there still.

Download all attachments as: .zip

Change History (5)

comment:1 by scottmc, 17 years ago

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

comment:2 by kaliber, 17 years ago

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?

by scottmc, 16 years ago

Attachment: ticket2237.diff added

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

comment:3 by scottmc, 16 years ago

can this patch be applied?

comment:4 by axeld, 16 years ago

Resolution: fixed
Status: newclosed

Sure, just a matter of time :-)

Applied in hrev28961.

Note: See TracTickets for help on using tickets.