Opened 11 years ago

Closed 10 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:
Has a Patch: no 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 10 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 Changed 11 years ago by scottmc

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

comment:2 Changed 11 years 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 10 years ago by scottmc

Attachment: ticket2237.diff added

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

comment:3 Changed 10 years ago by scottmc

can this patch be applied?

comment:4 Changed 10 years ago by axeld

Resolution: fixed
Status: newclosed

Sure, just a matter of time :-)

Applied in hrev28961.

Note: See TracTickets for help on using tickets.