[git commit] rpmatch: make decl parsable
Mike Frysinger
vapier at gentoo.org
Thu May 3 23:22:34 UTC 2012
On Thursday 03 May 2012 04:58:24 Bernhard Reutner-Fischer wrote:
> Mike, it would have been much simpler to just leave the header impl-free
yes, and it would cause unused bloat in the C lib. the func is dirt simple,
so for the rare case where someone actually calls this, they get a few memory
lookup/compares. for everyone else, there is no overhead with an unused
function in the C library.
> --- a/include/stdlib.h
> +++ b/include/stdlib.h
>
> -__nonnull ((1)) __wur
> -static inline int rpmatch (__const char *__response)
> +/* __THROW */
> +static __inline __nonnull ((1)) __wur int rpmatch (__const char
> *__response)
i don't see what the problem is here. the code compiles fine for me with C and
C++ compilers.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20120503/d3458c2a/attachment.asc>
More information about the uClibc
mailing list