This is the mail archive of the libc-alpha@sourceware.org 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]

RFC: Removing builtin redirects from external headers


Hi,

Both string/string.h and string/bits/string2.h contain many simple redirects
to builtins. Some are disabled if inlining is turned off, some when optimizations
are disabled, and yet others when either C++ or C is used - ie. there is no
consistency. Are any of these necessary for external headers? 

Would it be reasonable to remove all of the redirects and only add ones that are
used internally in GLIBC (and deemed performance critical) as simple defines in
the internal header include/string.h?

Wilco


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