summaryrefslogtreecommitdiff
path: root/stdio-common/tst-printfsz.c
AgeCommit message (Collapse)Author
2015-08-06Modify several tests to use test-skeleton.cArjun Shankar
These tests were skipped by the use-test-skeleton conversion done in commit 29955b5d because they did not have an `int main (void)' declaration. Instead their `main' functions were declared with arguments (i.e. argc, argv) even though they didn't use them. Remove these arguments and include the test skeleton in these tests.
2014-12-11Eliminate -Wno-format from printf/scanf tests.Roland McGrath
2014-12-10Disable -Wdeprecated-declarations for register_printf_function calls in ↵Joseph Myers
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.
2000-06-21* tst-trans.c: Include <stdlib.h> and <string.h>.Andreas Jaeger
2000-06-21 Andreas Jaeger <aj@suse.de> * tst-trans.c: Include <stdlib.h> and <string.h>.
1997-04-19Add description of printf_size and printf_size_info.Ulrich Drepper