This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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: [Various] libc/2757: Multiple <bits/byteswap.h> erroneus include


Andreas Jaeger <aj@suse.de> writes:

> But we also have some static inline functions in
> e.g. sysdeps/generic/byteswap.h.  Are those double declarations
> allowed?  I don't think so.

Other headers use plain macros where the parameter gets evaluated
multiple times.  This is inconsistent and given the fact that we want
people to use these headers the non-gcc cases in those headers should
be fixed.  And then, yes, we unfortunately need the protection.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


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