[PATCH] Fix sys/sysmacros.h in C++

Ulrich Drepper drepper@redhat.com
Wed Sep 24 20:27:00 GMT 2003


Jakub Jelinek wrote:

> Also, I wonder whether
> a) we shouldn't use different inline function names, so that
>    programs not using sys/sysmacros.h can use major/minor/makedev
>    symbols (__major/__minor/__makedev?)

I've renamed the function definitions.  Not with a __ prefix, but
instead with gnu_dev_.  No leading underscores (these are public
interfaces) and the gnu_dev_ prefix is hardly used anywhere else.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------



More information about the Libc-hacker mailing list