[patch] add alloc_pages/free_pages support
David Mosberger
davidm@napali.hpl.hp.com
Thu Oct 3 22:48:00 GMT 2002
>>>>> 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
More information about the Libc-hacker
mailing list