svn commit: r292013 - head/lib/libc/stdio

Garrett Cooper ngie at FreeBSD.org
Wed Dec 9 09:14:59 UTC 2015


Author: ngie
Date: Wed Dec  9 09:14:57 2015
New Revision: 292013
URL: https://svnweb.freebsd.org/changeset/base/292013

Log:
  Use stdint.h instead of inttypes.h as the latter pollutes namespace more
  
  MFC after: 3 days
  X-MFC with: r292004
  Submitted by: bde
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/lib/libc/stdio/open_memstream.c
  head/lib/libc/stdio/open_wmemstream.c

Modified: head/lib/libc/stdio/open_memstream.c
==============================================================================
--- head/lib/libc/stdio/open_memstream.c	Wed Dec  9 08:53:41 2015	(r292012)
+++ head/lib/libc/stdio/open_memstream.c	Wed Dec  9 09:14:57 2015	(r292013)
@@ -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>

Modified: head/lib/libc/stdio/open_wmemstream.c
==============================================================================
--- head/lib/libc/stdio/open_wmemstream.c	Wed Dec  9 08:53:41 2015	(r292012)
+++ head/lib/libc/stdio/open_wmemstream.c	Wed Dec  9 09:14:57 2015	(r292013)
@@ -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>


More information about the svn-src-all mailing list