[klibc] [git patch] klibc bzero, mount fixes + random stuff

H. Peter Anvin hpa at zytor.com
Fri Aug 24 16:05:28 PDT 2007

maximilian attems wrote:
> the mount fixes allow thanks to latest dash merge
> to run latest bare initramfs-tools without busybox itself. :)
> while compiling with -Wnested i get those
> usr/klibc/../include/unistd.h: In function 'getpagesize':
> usr/klibc/../include/unistd.h:145: warning: nested extern declaration of '__page_size'
> usr/klibc/../include/unistd.h: In function '__getpageshift':
> usr/klibc/../include/unistd.h:150: warning: nested extern declaration of '__page_shift'
> they also appear when compiling udev against klibc, as udev
> sets aboves gcc warning. can you enlight me on what's going
> on, tried to compile with -E to see if any preprocessor trick
> was going on, but..?

I decided to go ahead and export the symbols; they're double-underscore,
after all, and the user wouldn't be able to use them in conflict anyway.


More information about the klibc mailing list