This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: missing libc_hidden_proto() declarations?


On Mon, Jan 13, 2003 at 10:57:55PM -0800, David Mosberger wrote:
> I had to declare if_nametoindex() and if_indextoname() with
> libc_hidden_proto() to get libc to compile on ia64 linux (with
> gcc-pre3.4).  Since this seems to work for others, perhaps I'm doing
> something wrong?

libc/include/net/if.h has:
#ifndef _NET_IF_H

# include_next <net/if.h>

libc_hidden_proto (if_nametoindex)
libc_hidden_proto (if_indextoname)

#endif

which should take care of this.
So you should investigate why include/net/if.h has not been included.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]