[PATCH] refactor strspn/strcspn macro
Roland McGrath
roland@hack.frob.com
Wed Jan 16 22:30:00 GMT 2013
Use a less opaque name, e.g. __maybe_builtin_strcspn.
Your log entry lacks appropriate whitespace, punctuation, and detail.
A good entry for just the strcspn part looks like:
* string/bits/string2.h [!_HAVE_STRING_ARCH_strcspn || _FORCE_INLINES]
[!_HAVE_STRING_ARCH_strcspn] (__maybe_builtin_strcspn): New macro,
defined differently under [__GNUC_PREREQ (3, 2)] and not.
[!_HAVE_STRING_ARCH_strcspn] (strcspn): Consolidate variant
definitions into one that calls __maybe_builtin_strcspn.
More information about the Libc-alpha
mailing list