[PATCH v2] Suppress incorrect link warnings for NSS symbols

Roland McGrath roland@hack.frob.com
Tue Oct 30 16:21:00 GMT 2012


> 	* grp/initgroups.c: use new macro.

Capitalize.

> When glibc is built with --enable-static-nss, the warning that
[...]

This kind of text usually goes before the ChangeLog fragment in a posting.

> +/* Warning for NSS functions, which don't require dlopen if glibc
> +   was built with --enable-static-nss.  */
> +#ifdef DO_STATIC_NSS
> +#define nss_interface_function(name)

It's "# define" inside #ifdef.

> +#else
> +#define nss_interface_function(name) static_link_warning(name)
> +#endif

Likewise, and space before paren on the rhs.

You may commit the change with those fixes and reports of successful builds
both with and without --enable-static-nss.


Thanks,
Roland



More information about the Libc-alpha mailing list