[COMMITTED] Eliminate -Wno-format from printf/scanf tests.
diff mbox

Message ID m6ebr4$tpi$1@ger.gmane.org
State New
Headers show

Commit Message

Stefan Liebler Dec. 12, 2014, 9:17 a.m. UTC
Hi,

please inlcude libc-internal.h for usage of DIAG_* macros.

Thanks.

---
2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>

	stdio-common/test-vfprintf.c:
	Include libc-internal.h for usage of DIAG_* macros.
	stdio-common/tst-sprintf.c: Likewise.

Patch
diff mbox

diff --git a/stdio-common/test-vfprintf.c b/stdio-common/test-vfprintf.c
index 8483d8d..66e7d5c 100644
--- a/stdio-common/test-vfprintf.c
+++ b/stdio-common/test-vfprintf.c
@@ -25,6 +25,7 @@ 
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
+#include <libc-internal.h>
 
 
 const char *locs[] =
diff --git a/stdio-common/tst-sprintf.c b/stdio-common/tst-sprintf.c
index ea3008b..d5284b9 100644
--- a/stdio-common/tst-sprintf.c
+++ b/stdio-common/tst-sprintf.c
@@ -2,6 +2,7 @@ 
 #include <stdlib.h>
 #include <locale.h>
 #include <string.h>
+#include <libc-internal.h>
 
 
 static int