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: [patch] add alloc_pages/free_pages support


>>>>> On Thu, 03 Oct 2002 15:30:56 -0700, Ulrich Drepper <drepper@redhat.com> said:

  Uli> The header still isn't right.  You cannot have the hidden macros in
  Uli> there.

OK, so what's the right way to declare a function that has both weak and
strong variants?  Just duplicate the proto, like so:

extern size_t __gethugepagesize (void) __attribute__ ((__const__));
extern size_t gethugepagesize (void) __attribute__ ((__const__));

  Uli> And the function prototypes are missing __THROW.

For all three of them?

	--david


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