summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-13 04:24:15 +0000
committerngie <ngie@FreeBSD.org>2015-12-13 04:24:15 +0000
commit2b74a3bca078e378222bc5b0505d6dcb9f55b559 (patch)
tree2aa7d79fd9dccad42b225cb74541862f83606f3c /lib
parent3ca997c2e9af05b85ca750abc6503dbd2faba4a6 (diff)
downloadFreeBSD-src-2b74a3bca078e378222bc5b0505d6dcb9f55b559.zip
FreeBSD-src-2b74a3bca078e378222bc5b0505d6dcb9f55b559.tar.gz
MFC r292013:
Use stdint.h instead of inttypes.h as the latter pollutes namespace more Submitted by: bde Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/open_memstream.c4
-rw-r--r--lib/libc/stdio/open_wmemstream.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/open_memstream.c b/lib/libc/stdio/open_memstream.c
index f3d1ee5..a7e0bae 100644
--- a/lib/libc/stdio/open_memstream.c
+++ b/lib/libc/stdio/open_memstream.c
@@ -31,10 +31,10 @@ __FBSDID("$FreeBSD$");
#include "namespace.h"
#include <assert.h>
#include <errno.h>
+#include <limits.h>
#ifdef DEBUG
-#include <inttypes.h>
+#include <stdint.h>
#endif
-#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/lib/libc/stdio/open_wmemstream.c b/lib/libc/stdio/open_wmemstream.c
index 4585531..3e8713f 100644
--- a/lib/libc/stdio/open_wmemstream.c
+++ b/lib/libc/stdio/open_wmemstream.c
@@ -31,10 +31,10 @@ __FBSDID("$FreeBSD$");
#include "namespace.h"
#include <assert.h>
#include <errno.h>
+#include <limits.h>
#ifdef DEBUG
-#include <inttypes.h>
+#include <stdint.h>
#endif
-#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
OpenPOWER on IntegriCloud