glibc/stdio-common
Joseph Myers 0f88636c09 Disable -Wdeprecated-declarations for register_printf_function calls in tst-printfsz.c.
This patch uses diagnostic control pragmas to disable warnings in
stdio-common/tst-printfsz.c for use of the deprecated
register_printf_function.  Because this test is testing printf_size
and printf_size_info, and the latter has the interface expected for
register_printf_function instead of the newer
register_printf_specifier, it seems correct for this test to use the
deprecated interface (wrapping printf_size_info in some way to use
register_printf_specifier would seem an excessive change to what's
tested).

Tested for x86_64.

	* stdio-common/tst-printfsz.c: Include <libc-internal.h>.
	(main): Disable -Wdeprecated-declarations around calls to
	register_printf_function.
2014-12-10 00:44:54 +00:00
..
2013-06-05 20:44:03 +00:00
2007-01-22 16:18:03 +00:00
2011-08-20 09:22:16 -04:00
2012-05-24 21:30:43 -06:00
2013-10-12 14:47:50 +02:00
2009-10-30 09:23:24 -07:00
2012-03-08 03:02:24 -05:00
2005-09-27 19:40:49 +00:00
2014-02-28 11:07:43 -08:00