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 Tue, 14 Jan 2003 08:16:14 +0100, Jakub Jelinek <jakub@redhat.com> said:

  Jakub> On Mon, Jan 13, 2003 at 10:57:55PM -0800, David Mosberger
  Jakub> 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?

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

  Jakub> # include_next <net/if.h>

  Jakub> libc_hidden_proto (if_nametoindex) libc_hidden_proto
  Jakub> (if_indextoname)

  Jakub> #endif

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

The file include/net/if.h doesn't exist in my tree.  I'm probably
doing something wrong with cvs.  Is there a reason why "cvs update"
wouldn't pick up this (presumably new) file?

	--david


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